mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
Alternative local server shutdown (mostly intended for Windows).
This commit is contained in:
1 parent
4ccca5dc99
commit
cf92bfe81e
4 files changed
+37
-3
No files matched your search
@@ -190,8 +190,8 @@ class Server:
|
||||
# because asyncio.add_signal_handler() is not supported yet on that platform
|
||||
# otherwise the loop runs outside of signal module's ability to trap signals.
|
||||
def wakeup():
|
||||
loop.call_later(0.1, wakeup)
|
||||
loop.call_later(0.1, wakeup)
|
||||
loop.call_later(0.5, wakeup)
|
||||
loop.call_later(0.5, wakeup)
|
||||
asyncio.set_event_loop(loop)
|
||||
|
||||
ssl_context = None
|
||||
|
||||
Reference in new issue
Block a user