mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
2 files changed
+11
-4
No files matched your search
@@ -31,6 +31,13 @@ import gns3server.utils.get_resource
|
||||
import os
|
||||
import sys
|
||||
|
||||
# To avoid strange bug later we switch the event loop before any other operation
|
||||
if sys.platform.startswith("win"):
|
||||
import asyncio
|
||||
# use the Proactor event loop on Windows
|
||||
loop = asyncio.ProactorEventLoop()
|
||||
|
||||
|
||||
|
||||
def daemonize():
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user