We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41b958d commit f44656fCopy full SHA for f44656f
ucapi/api.py
@@ -284,7 +284,7 @@ async def _broadcast_ws_event(
284
data = {"kind": "event", "msg": msg, "msg_data": msg_data, "cat": category}
285
data_dump = json.dumps(data)
286
287
- for websocket in self._clients:
+ for websocket in self._clients.copy():
288
if _LOG.isEnabledFor(logging.DEBUG):
289
_LOG.debug(
290
"[%s] =>: %s", websocket.remote_address, filter_log_msg_data(data)
0 commit comments