1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 09:18:08 +00:00

Fix asyncio reactor on Windows

Fix #672
This commit is contained in:
Julien Duponchelle 2016-09-08 17:21:38 +02:00
parent 83b72d762c
commit a17ae316c7
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
2 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,7 @@ if sys.platform.startswith("win"):
import asyncio
# use the Proactor event loop on Windows
loop = asyncio.ProactorEventLoop()
asyncio.set_event_loop(loop)
def daemonize():

View File

@ -267,7 +267,6 @@ class WebServer:
def wakeup():
loop.call_later(0.5, wakeup)
loop.call_later(0.5, wakeup)
asyncio.set_event_loop(loop)
server_config = Config.instance().get_section_config("Server")