You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also the overall design of the class is quite easy to create handle leaks - e.g. call twice CreateKeyboardHook and you are no longer able to unhook the hook.
The text was updated successfully, but these errors were encountered:
As title says, you have wrong condition in the
Dispose
method of theKeystrokeAPI
class.It is supposed to be
instead of
Also the overall design of the class is quite easy to create handle leaks - e.g. call twice
CreateKeyboardHook
and you are no longer able to unhook the hook.The text was updated successfully, but these errors were encountered: