13
0

Add errornous shutdown logging
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2024-02-17 08:37:57 +01:00
Ursprung 5d30a9144a
Commit fe67e5078f

Datei anzeigen

@ -140,8 +140,10 @@ public class Subserver {
} }
try { try {
if(!process.waitFor(1, TimeUnit.MINUTES)) if(!process.waitFor(1, TimeUnit.MINUTES)) {
logger.log(Level.SEVERE, () -> serverName + " did not stop correctly, forcibly stopping!");
process.destroyForcibly(); process.destroyForcibly();
}
thread.join(); thread.join();
}catch(InterruptedException e){ }catch(InterruptedException e){