Make sure we don't call exitProcess() if the system is already terminating
This commit is contained in:
@@ -109,7 +109,8 @@ object Server {
|
||||
it.flush()
|
||||
it.close()
|
||||
}
|
||||
exitProcess(0)
|
||||
if(!SystemManager.isTerminated())
|
||||
exitProcess(0)
|
||||
}
|
||||
delay(625)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user