We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35840da commit a88709aCopy full SHA for a88709a
ucapi/api.py
@@ -273,7 +273,7 @@ async def _broadcast_ws_event(
273
data = {"kind": "event", "msg": msg, "msg_data": msg_data, "cat": category}
274
data_dump = json.dumps(data)
275
276
- for websocket in self._clients:
+ for websocket in self._clients.copy():
277
if _LOG.isEnabledFor(logging.DEBUG):
278
_LOG.debug(
279
"[%s] =>: %s", websocket.remote_address, filter_log_msg_data(data)
0 commit comments