The :exit notification should also take an empty JSON object instead of
JSON null as its parameters.
* lisp/progmodes/eglot.el (eglot-shutdown): Use eglot--{} in
:exit notifcation, too.
(cherry picked from commit
e8470b79f1d56c4c887c0b5d2c326ad6449cbbea)
(progn
(setf (eglot--shutdown-requested server) t)
(eglot--request server :shutdown eglot--{} :timeout (or timeout 1.5))
- (jsonrpc-notify server :exit nil))
+ (jsonrpc-notify server :exit eglot--{}))
;; Now ask jsonrpc.el to shut down the server.
(jsonrpc-shutdown server (not preserve-buffers))
(unless preserve-buffers (kill-buffer (jsonrpc-events-buffer server)))))