We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 598c875 commit bcc22e2Copy full SHA for bcc22e2
2 files changed
ipykernel/control.py
@@ -10,9 +10,8 @@
10
11
class ControlThread(Thread):
12
13
- def __init__(self, context):
14
- Thread.__init__(self)
15
- self.context = context
+ def __init__(self, **kwargs):
+ Thread.__init__(self, **kwargs)
16
self.io_loop = IOLoop(make_current=False)
17
18
def run(self):
ipykernel/kernelapp.py
@@ -300,7 +300,7 @@ def init_control(self, context):
300
# see ipython/ipykernel#270 and zeromq/libzmq#2892
301
self.control_socket.router_handover = 1
302
303
- self.control_thread = ControlThread(self.control_socket)
+ self.control_thread = ControlThread(daemon=True)
304
self.control_thread.start()
305
306
def init_iopub(self, context):
0 commit comments