Skip to content

Commit

Permalink
Revert "Always close iopub socket"
Browse files Browse the repository at this point in the history
This reverts commit 02fca62.
  • Loading branch information
Carreau committed Feb 19, 2025
1 parent 02fca62 commit 087e7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipykernel/kernelapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def close(self):
if self.debug_shell_socket and not self.debug_shell_socket.closed:
self.debug_shell_socket.close()

for channel in ("shell", "control", "stdin", "iopub"):
for channel in ("shell", "control", "stdin"):
self.log.debug("Closing %s channel", channel)
socket = getattr(self, channel + "_socket", None)
if socket and not socket.closed:
Expand Down

0 comments on commit 087e7aa

Please sign in to comment.