Hotfix stop after 5min
Dieser Commit ist enthalten in:
Ursprung
e120bb1ce1
Commit
a92642e612
@ -132,8 +132,9 @@ public class Subserver implements Runnable {
|
||||
|
||||
public void waitForTermination(){
|
||||
try {
|
||||
if(!process.waitFor(5, TimeUnit.MINUTES))
|
||||
if(!process.waitFor(5, TimeUnit.MINUTES) && server.getPlayers().isEmpty()){
|
||||
process.destroy();
|
||||
}
|
||||
}catch(InterruptedException e){
|
||||
logger.log(Level.SEVERE, "Subserver stop interrupted!", e);
|
||||
Thread.currentThread().interrupt();
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren