mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 06:41:13 +02:00
Remove websocket.close()
This commit is contained in:
4 files changed
+2
-15
No files matched your search
@@ -182,7 +182,7 @@ class Server:
|
||||
asyncio.ensure_future(Controller.instance().reload())
|
||||
else:
|
||||
log.info(f"Server has got signal {signame}, exiting...")
|
||||
# send SIGTERM to the server PID so uvicorn can shutdown the process
|
||||
# send SIGTERM to the server PID so uvicorn can shut down the process
|
||||
os.kill(os.getpid(), signal.SIGTERM)
|
||||
except asyncio.CancelledError:
|
||||
pass
|
||||
|
||||
Reference in new issue
Block a user