mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 23:41:38 -05:00
jupyter-handle-message: Only examine :execute-reply of owned requests
This commit is contained in:
parent
d4e24d7870
commit
03a8067e6e
1 changed files with 2 additions and 2 deletions
|
@ -816,11 +816,11 @@ are taken:
|
||||||
(requests (oref client requests))
|
(requests (oref client requests))
|
||||||
(req (gethash pmsg-id requests)))
|
(req (gethash pmsg-id requests)))
|
||||||
;; Update the state of the client
|
;; Update the state of the client
|
||||||
(cl-case (jupyter-message-type msg)
|
(pcase (jupyter-message-type msg)
|
||||||
(:status
|
(:status
|
||||||
(oset client execution-state
|
(oset client execution-state
|
||||||
(jupyter-message-get msg :execution_state)))
|
(jupyter-message-get msg :execution_state)))
|
||||||
((:execute-input :execute-reply)
|
((or :execute-input (and (guard req) :execute-reply))
|
||||||
(oset client execution-count
|
(oset client execution-count
|
||||||
(1+ (jupyter-message-get msg :execution_count)))))
|
(1+ (jupyter-message-get msg :execution_count)))))
|
||||||
(if (not req)
|
(if (not req)
|
||||||
|
|
Loading…
Add table
Reference in a new issue