Open jsl303 opened 4 years ago
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?
According to the example, all you need to do is unregister with hotkey = nil or update with hotkey = HotKey(xxxx)
hotkey = nil
hotkey = HotKey(xxxx)
Thanks, @qwertyyb. Setting the var to nil works.
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?