Skip to content

Commit 78cbaa5

Browse files
authored
Set closed flag
1 parent 9de554f commit 78cbaa5

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)