mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
Graceful shutdown for modules and locale check for the server.
This commit is contained in:
1 parent
9be5625c38
commit
7ebd451dda
4 files changed
+52
-6
No files matched your search
@@ -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