The problem is that it shuses futures and Clojure programs that use futures or agents freeze a bit before they leave when they have nothing else to do due to the way some internal mechanisms work.
To get around this, add
(shutdown-agents)
at the end of your script that ends this piece of equipment. (So ββthis is more than the name promises in that futures are also affected.)
Please note that this cannot be undone and therefore should not be used in REPL.
source
share