I'm using vs code with calva on Ubuntu. My clojure app listens on a port and I find that if I exit vs code, it leaves a java process bound to that port which I have to locate and kill before I can start again.
Is there any calva command to stop the repl?, or better still, a way of stopping the repl automatically when I exit vs code?
From the comments I've figured out that I was really asking the wrong question. I was under the impression that the repl was "owned by" to the vs code process that started it and that not terminating it when you quit vs code was a bug, but really my understanding wasn't right.
So to solve my original problem of leaving a process bound to the port, there are 3 options:
(System/exit 0)