Closed l3nz closed 5 years ago
If the command run is long-running, it would be nice to add a shutdown hook by calling :on-shutdown:
:on-shutdown
(.addShutdownHook (Runtime/getRuntime) (Thread. (fn [] (log "Bye!") )))
If the command run is long-running, it would be nice to add a shutdown hook by calling
:on-shutdown
: