Skip to content

Commit f6c8241

Browse files
committed
Explicitly close corresponding event streams when cloud connection is disconnected. Resolves #578
1 parent 02fc0e0 commit f6c8241

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scratchattach/cloud/_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ def disconnect(self):
359359
except Exception:
360360
pass
361361
if self.event_stream:
362+
self.event_stream.close()
362363
self.event_stream = None
363364

364365
def _assert_valid_value(self, value):

0 commit comments

Comments
 (0)