Skip to content

Commit a95c9fc

Browse files
committed
call _create_connected_socket to instantiate _control_socket in KernelManager
1 parent 306df74 commit a95c9fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_client/manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def _launch_kernel(self, kernel_cmd, **kw):
207207

208208
def _connect_control_socket(self):
209209
if self._control_socket is None:
210-
self._control_socket = self.connect_control()
210+
self._control_socket = self._create_connected_socket('control')
211211
self._control_socket.linger = 100
212212

213213
def _close_control_socket(self):

0 commit comments

Comments
 (0)