jasongilman / proto-repl

A Clojure Development Environment package for the Atom editor
https://atom.io/packages/proto-repl
MIT License
565 stars 50 forks source link

JVM process not killed when exiting REPL #291

Open sashton opened 6 years ago

sashton commented 6 years ago

After starting and stopping the REPL in proto-repl, the JVM processes for the target application's REPL are still running. They should be killed when the REPL exits.

Proto-repl version: v1.4.22 (tag) OS: OSX

$ lein --version
Leiningen 2.6.1 on Java 1.8.0_131 Java HotSpot(TM) 64-Bit Server VM

Steps:

$ lein new proto-repl-test
$ ps -ef | grep java | grep proto-repl-test | wc -l
       0
$ atom proto-repl-test 

# start proto-repl REPL => proto-repl:toggle-current-project-clj

$ ps -ef | grep java | grep proto-repl-test | wc -l
       2

# quit proto-repl REPL => proto-repl:exit-repl

$ ps -ef | grep java | grep proto-repl-test | wc -l
       2
jhemann commented 6 years ago

Same behavior seen on Linux (Mint).