Commit 78ecbc4b authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

dinput: Do not delete static critical section.

parent a3132f29
...@@ -1439,7 +1439,6 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, void *reserved ) ...@@ -1439,7 +1439,6 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, void *reserved )
if (reserved) break; if (reserved) break;
dinput_thread_stop(); dinput_thread_stop();
unregister_di_em_win_class(); unregister_di_em_win_class();
DeleteCriticalSection(&dinput_hook_crit);
break; break;
} }
return TRUE; return TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment