mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-14 05:18:22 +00:00
Alternative local server shutdown (mostly intended for Windows).
This commit is contained in:
@ -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