mirror of
https://github.com/reactos/wine.git
synced 2025-01-19 18:24:48 +00:00
dxgi: Delete the static critical section when unloading the dll.
This commit is contained in:
parent
4ed24cd5f5
commit
903146bdcd
@ -54,6 +54,7 @@ static void dxgi_main_cleanup(void)
|
||||
dxgi_main.d3d10core = NULL;
|
||||
|
||||
LeaveCriticalSection(&dxgi_cs);
|
||||
DeleteCriticalSection(&dxgi_cs);
|
||||
}
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
|
||||
|
Loading…
x
Reference in New Issue
Block a user