File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ def _cmd_lstk(self, id):
353353 _debug_write ('Listing kernel specs' )
354354 kernelspecs = json .dumps (listKernelSpecs ())
355355 with self .send_lock :
356- _debug_write ('Replying with kernel Specs= ' + kernelspecs )
356+ _debug_write ('Replying with kernel Specs' )
357357 write_bytes (self .conn , iPythonSocketServer ._LSKS )
358358 write_string (self .conn , id )
359359 write_string (self .conn , kernelspecs )
@@ -455,17 +455,9 @@ def _cmd_rstk(self, id):
455455 except socket .timeout :
456456 pass
457457
458- try :
459- if self .kernelMonitor is not None :
460- self .kernelMonitor .stop ()
461- finally :
462- self .kernelMonitor = None
463-
464458 kernel_manager = multiKernelManager .get_kernel (kernelUUID )
465459 kernel_manager .restart_kernel (now = True )
466460
467- self ._postStartKernel (kernelUUID )
468-
469461 with self .send_lock :
470462 write_bytes (self .conn , iPythonSocketServer ._RSTK )
471463 write_string (self .conn , id )
You can’t perform that action at this time.
0 commit comments