HotKey icon indicating copy to clipboard operation
HotKey copied to clipboard

How to Release Registered Hotkey?

Open jsl303 opened this issue 4 years ago • 2 comments

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?

jsl303 avatar Oct 07 '19 23:10 jsl303

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

qwertyyb avatar Oct 16 '19 03:10 qwertyyb

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

leits avatar Jun 01 '20 13:06 leits