mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 23:41:38 -05:00
Handle more failure cases when starting a new kernel
This commit is contained in:
parent
9b66532f94
commit
f302445ac2
1 changed files with 2 additions and 1 deletions
|
@ -337,7 +337,8 @@ un-paused."
|
|||
(unless (oref km kernel-info)
|
||||
(jupyter-stop-channels kc)
|
||||
(jupyter-stop-channels km)
|
||||
(delete-process (oref km kernel))))))
|
||||
(when (processp (oref km kernel))
|
||||
(delete-process (oref km kernel)))))))
|
||||
|
||||
(provide 'jupyter-kernel-manager)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue