Skip to content

Commit 8171ce4

Browse files
Merge pull request #641 from SylvainCorlay/no-control-flush
Fix "Socket operation on nonsocket" in downstream nbclient test.
2 parents a6b6be8 + 17ba245 commit 8171ce4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ipykernel/kernelbase.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -411,10 +411,6 @@ def dispatch_queue(self):
411411
"""
412412

413413
while True:
414-
# ensure control stream is flushed before processing shell messages
415-
if self.control_stream:
416-
self.control_stream.flush()
417-
# receive the next message and handle it
418414
try:
419415
yield self.process_one()
420416
except Exception:

0 commit comments

Comments
 (0)