We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67418ee commit 06efba1Copy full SHA for 06efba1
api_server/services/terminal_service.py
@@ -38,7 +38,7 @@ def send_messages(self, entries):
38
39
new_size = self.update_size()
40
41
- for client_id in self.subscriptions:
+ for client_id in self.subscriptions.copy(): # prevent: Set changed size during iteration
42
if client_id not in self.server.sockets:
43
# Automatically unsub if the socket has disconnected
44
self.unsubscribe(client_id)
0 commit comments