fix race in websocket broadcaster (#6795)

This commit is contained in:
Maximilian Hils 2024-04-12 16:16:25 +02:00 committed by GitHub
parent 00d6c88af5
commit 61b094ac36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class WebSocketEventBroadcaster(tornado.websocket.WebSocketHandler):
"utf8", "surrogateescape"
)
for conn in cls.connections:
for conn in cls.connections.copy():
cls.send(conn, message)