Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Release Registered Hotkey? #15

Open
jsl303 opened this issue Oct 7, 2019 · 2 comments
Open

How to Release Registered Hotkey? #15

jsl303 opened this issue Oct 7, 2019 · 2 comments

Comments

@jsl303
Copy link

jsl303 commented Oct 7, 2019

It says "You don’t need to think about when handlers are registered and unregistered. This all happens automatically based on the HotKey object’s lifecycle."
However, is there a way to deregister and release the hotkey manually?

@qwertyyb
Copy link

According to the example, all you need to do is unregister with hotkey = nil or update with hotkey = HotKey(xxxx)

@leits
Copy link

leits commented Jun 1, 2020

Thanks, @qwertyyb. Setting the var to nil works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants