mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-18 23:38:17 +00:00
Graceful shutdown for modules and locale check for the server.
This commit is contained in:
@ -224,7 +224,8 @@ class Server(object):
|
||||
|
||||
# terminate all modules
|
||||
for module in self._modules:
|
||||
#module.join(timeout=1)
|
||||
# if not sys.platform.startswith("win"):
|
||||
# module.join(timeout=0.5)
|
||||
if module.is_alive():
|
||||
log.info("terminating {}".format(module.name))
|
||||
module.terminate()
|
||||
|
Reference in New Issue
Block a user