Set the last message time on the request after handling the message

This commit is contained in:
Nathaniel Nicandro 2018-05-06 11:56:02 -05:00
parent e8b42a63e0
commit cf963afa45

View file

@ -756,11 +756,11 @@ are taken:
(if (not req)
(when (jupyter-get client 'jupyter-include-other-output)
(jupyter--run-handler-maybe client channel req msg))
(setf (jupyter-request-last-message-time req) (current-time))
(unwind-protect
(jupyter--run-callbacks req msg)
(unwind-protect
(jupyter--run-handler-maybe client channel req msg)
(setf (jupyter-request-last-message-time req) (current-time))
(when (jupyter-message-status-idle-p msg)
(setf (jupyter-request-idle-received-p req) t))
(jupyter--drop-idle-requests client))))))))