Handle more failure cases when starting a new kernel

This commit is contained in:
Nathaniel Nicandro 2018-01-16 11:52:26 -06:00
parent 9b66532f94
commit f302445ac2

View file

@ -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)