Simplify synchronization model in InputDevice.cpp - replaced volatile flags/mutex/condition variable with joining on thread and one atomic flag

This commit is contained in:
Silent committed 2019-07-02 19:17:52 +02:00
1 parent 0b5458f759
commit 0621dbb487
2 files changed
+12 -32

No files matched your search

-2
View File
@@ -674,8 +674,6 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
VFSShutdown();
InputDevice::StopPolling();
MainWindow::DestroyDebugWindows();
DialogManager::DestroyAll();
timeEndPeriod(1);