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

Regarding unregisterNativeHook #434

Open
fuh-Q opened this issue Jan 23, 2023 · 1 comment
Open

Regarding unregisterNativeHook #434

fuh-Q opened this issue Jan 23, 2023 · 1 comment
Labels

Comments

@fuh-Q
Copy link

fuh-Q commented Jan 23, 2023

Just outta curiosity, what would happen if I didn't call GlobalScreen.unregisterNativeHook at some point in my program? Would it cause like a memory leak or something?

@kwhat
Copy link
Owner

kwhat commented Jan 28, 2023

It should just stop delivering native events. Just be careful you are calling it form a different thread than you are dispatching on.

@kwhat kwhat added the question label Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants