Skip to content

Commit 6fc9a7e

Browse files
authored
Merge pull request #435 from impact27/patch-3
Set closed flag
2 parents 9de554f + 78cbaa5 commit 6fc9a7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ipykernel/comm/manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ def comm_close(self, stream, ident, msg):
119119
comm = self.get_comm(comm_id)
120120
if comm is None:
121121
return
122-
122+
123+
self.comms[comm_id]._closed = True
123124
del self.comms[comm_id]
124125

125126
try:

0 commit comments

Comments
 (0)