From 03fafdc135824334643cf34fa1ed9bb5a3faf1f5 Mon Sep 17 00:00:00 2001 From: Clive Galway Date: Sat, 15 Jan 2022 19:20:27 +0000 Subject: [PATCH] Fix bug in UnsubscribeKeyboard (incorrect concurrent check) --- C#/AutoHotInterception/DeviceHandlers/KeyboardHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C#/AutoHotInterception/DeviceHandlers/KeyboardHandler.cs b/C#/AutoHotInterception/DeviceHandlers/KeyboardHandler.cs index 3051c6a..6a52498 100644 --- a/C#/AutoHotInterception/DeviceHandlers/KeyboardHandler.cs +++ b/C#/AutoHotInterception/DeviceHandlers/KeyboardHandler.cs @@ -76,7 +76,7 @@ namespace AutoHotInterception.DeviceHandlers { if (KeyboardMapping == null) return; // Stop DeviceWorkerThread - if (KeyboardMapping.Concurrent) + if (!KeyboardMapping.Concurrent) { if (DeviceWorkerThread != null) {