geforkt von SteamWar/PersistentBungeeCore
Add errornous shutdown logging
Dieser Commit ist enthalten in:
Ursprung
5d30a9144a
Commit
fe67e5078f
@ -140,8 +140,10 @@ public class Subserver {
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
thread.join();
|
||||
}catch(InterruptedException e){
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren