Commit 54bcda10 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

wined3d: Delete the static critical sections when unloading the dll.

parent 1b1433a1
...@@ -382,6 +382,8 @@ static BOOL wined3d_dll_destroy(HINSTANCE hInstDLL) ...@@ -382,6 +382,8 @@ static BOOL wined3d_dll_destroy(HINSTANCE hInstDLL)
HeapFree(GetProcessHeap(), 0, wined3d_settings.logo); HeapFree(GetProcessHeap(), 0, wined3d_settings.logo);
UnregisterClassA(WINED3D_OPENGL_WINDOW_CLASS_NAME, hInstDLL); UnregisterClassA(WINED3D_OPENGL_WINDOW_CLASS_NAME, hInstDLL);
DeleteCriticalSection(&wined3d_wndproc_cs);
DeleteCriticalSection(&wined3d_cs);
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