I don't know Java so I can't test in Java unfortunately, but when I try to issue .reset or .stop to the provider object in Clojure, the REPL hangs. If I do it in running code, the code continues (since it's multi-threaded), but the keys are not deregistered, and continue to be active...
May 01, 2013 12:06:36 PM com.tulskiy.keymaster.osx.CarbonProvider$1 run
INFO: Installing Event Handler
May 01, 2013 12:06:36 PM com.tulskiy.keymaster.osx.CarbonProvider register
INFO: Registered hotkey: shift ctrl pressed 1
May 01, 2013 12:06:40 PM com.tulskiy.keymaster.osx.CarbonProvider$EventHandler callback
INFO: Received event id: 1
May 01, 2013 12:06:40 PM com.tulskiy.keymaster.osx.CarbonProvider stop
INFO: Stopping now
May 01, 2013 12:06:43 PM com.tulskiy.keymaster.osx.CarbonProvider$EventHandler callback
INFO: Received event id: 1
I don't know Java so I can't test in Java unfortunately, but when I try to issue .reset or .stop to the provider object in Clojure, the REPL hangs. If I do it in running code, the code continues (since it's multi-threaded), but the keys are not deregistered, and continue to be active...