Remove websocket.close()

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

View File

@ -221,11 +221,6 @@ async def controller_ws_notifications(
log.info(f"Client {websocket.client.host}:{websocket.client.port} has disconnected from controller WebSocket")
except WebSocketException as e:
log.warning(f"Error while sending to controller event to WebSocket client: {e}")
finally:
try:
await websocket.close()
except OSError:
pass # ignore OSError: [Errno 107] Transport endpoint is not connected
# @Route.post(