mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 15:41:37 -05:00
Better predicate in jupyter-kernel-alive-p
This commit is contained in:
parent
060340625e
commit
fd89b419a7
1 changed files with 2 additions and 1 deletions
|
@ -269,7 +269,8 @@ kernel. Starting a kernel involves the following steps:
|
|||
(_ (interrupt-process (oref manager kernel) t))))
|
||||
|
||||
(cl-defmethod jupyter-kernel-alive-p ((manager jupyter-kernel-manager))
|
||||
(process-live-p (oref manager kernel)))
|
||||
(when (oref manager kernel)
|
||||
(process-live-p (oref manager kernel))))
|
||||
|
||||
(defun jupyter--wait-until-startup (client &optional timeout)
|
||||
"Wait until CLIENT receives a status: starting message.
|
||||
|
|
Loading…
Add table
Reference in a new issue