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.
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.