emiln / cljck

An OS-agnostic Clojure library for automating keyboard and mouse actions.
GNU General Public License v3.0
5 stars 0 forks source link

Fix kill switch issue #21

Closed emiln closed 9 years ago

emiln commented 9 years ago

Hopefully this fixes the issues with the kill switch key binding. Before we made no attempt to unregister hooks before exiting the program, which potentially caused some issues with repeated use. The bot should now correctly unregister its global hooks before shutting down, and hopefully this was causing the issue.

I've been unable to reproduce the issue on Ubuntu and unwilling to develop the bot on Windows, which has lead to this "patch and pray" approach. Am I a terrible person? Yes.