Once registered, allow a handler to be removed. #1663
zer0origin
started this conversation in
Ideas
Replies: 1 comment
-
|
AddHandler returns a remove function, keep a reference to that function and call it to remove the handler. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Once a handler is registered with AddHandler, there is no way to then remove the handler. if you use AddHandlerOnce, you would need to keep re-adding it. It makes more sense to AddHandler -> delete it later.
Beta Was this translation helpful? Give feedback.
All reactions