diff options
author | João Távora <joaotavora@gmail.com> | 2018-12-16 16:55:09 +0000 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2018-12-16 16:55:38 +0000 |
commit | 2f65525774b6e7edf119db678c9eb78cbb84de6a (patch) | |
tree | 5441cfec006b7db8f6511404a15e01e70164cbd3 /lisp/progmodes/flymake-proc.el | |
parent | f74595aace4b1240402562b0073b06c170969327 (diff) | |
download | emacs-2f65525774b6e7edf119db678c9eb78cbb84de6a.tar.gz emacs-2f65525774b6e7edf119db678c9eb78cbb84de6a.tar.bz2 emacs-2f65525774b6e7edf119db678c9eb78cbb84de6a.zip |
Jsonrpc error handlers can now safely call jsonrpc-shutdown
Previously, if an error handler called jsonrpc-shutdown, and if that
error handler was being called from the process sentinel,
jsonrpc-shutdown would infloop waiting for jsonrpc-sentinel-done to be
set.
Rename the process property jsonrpc-sentinel-done to
jsonrpc-sentinel-cleanup-started, arrange for it to be set earlier
in the sentinel, and also check for it earlier in jsonrpc-shutdown.
* lisp/jsonrpc.el (Version): Bump to 1.0.7.
(jsonrpc--process-sentinel): Set jsonrpc-sentinel-cleanup-started
a bit earlier than previous jsonrpc-sentinel-done.
(jsonrpc-shutdown): Query jsonrpc-sentinel-cleanup-started
Diffstat (limited to 'lisp/progmodes/flymake-proc.el')
0 files changed, 0 insertions, 0 deletions