Rework the HotkeyManager and KeyboardHook interop classes (#4710)

* Use GetAsyncKeyState calls and remove additional thread usage

* Removed Environment.Exit
This commit is contained in:
Arjun Balgovind
2020-07-03 08:21:06 -07:00
committed by GitHub
parent f9a5242e75
commit 8a908aa33f
5 changed files with 17 additions and 114 deletions

View File

@@ -74,9 +74,6 @@ namespace Microsoft.PowerToys.Settings.UI.Runner
MessageBoxButton.OK);
app.Shutdown();
}
// Terminate all threads of the process
Environment.Exit(0);
}
}