Skip to content

Commit

Permalink
fix zmq address already in use
Browse files Browse the repository at this point in the history
wait for process to end as in
emacs-jupyter#464 (comment)
also appears in other issues
emacs-jupyter#471
emacs-jupyter#536
  • Loading branch information
George Moutsopoulos committed Jul 4, 2024
1 parent b279c90 commit 6fad869
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jupyter-env.el
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ The session can be used to write a connection file, see
(interrupt-process process)
;; Wait until the connection file is cleaned up before
;; forgetting about the process completely.
(while (process-live-p process))
(jupyter-with-timeout
(nil jupyter-default-timeout
(delete-file conn-file))
Expand Down

0 comments on commit 6fad869

Please sign in to comment.