Skip to content

Commit

Permalink
Merge pull request #641 from SylvainCorlay/no-control-flush
Browse files Browse the repository at this point in the history
Fix "Socket operation on nonsocket" in downstream nbclient test.
  • Loading branch information
SylvainCorlay authored Apr 16, 2021
2 parents a6b6be8 + 17ba245 commit 8171ce4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ipykernel/kernelbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,10 +411,6 @@ def dispatch_queue(self):
"""

while True:
# ensure control stream is flushed before processing shell messages
if self.control_stream:
self.control_stream.flush()
# receive the next message and handle it
try:
yield self.process_one()
except Exception:
Expand Down

0 comments on commit 8171ce4

Please sign in to comment.