diff --git a/GestureSign.Daemon/Input/InputProvider.cs b/GestureSign.Daemon/Input/InputProvider.cs index 916ad40..225d4af 100644 --- a/GestureSign.Daemon/Input/InputProvider.cs +++ b/GestureSign.Daemon/Input/InputProvider.cs @@ -51,7 +51,7 @@ protected virtual void Dispose(bool disposing) AppConfig.ConfigChanged -= AppConfig_ConfigChanged; } - LowLevelMouseHook?.Dispose(); + LowLevelMouseHook.Unhook(); disposedValue = true; } }