Remove websocket.close()

This commit is contained in:
grossmj committed 2024-03-16 16:00:27 +01:00
1 parent 03b491f7b1
commit 31c7fe88f1
4 files changed
+2 -15

No files matched your search

+1 -1
View File
@@ -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