wined3d: Delete the static critical sections when unloading the dll.
Francois Gouget
fgouget at codeweavers.com
Thu Nov 17 02:54:54 CST 2011
---
dlls/wined3d/wined3d_main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c
index 0533595..1b7e493 100644
--- a/dlls/wined3d/wined3d_main.c
+++ b/dlls/wined3d/wined3d_main.c
@@ -382,6 +382,8 @@ static BOOL wined3d_dll_destroy(HINSTANCE hInstDLL)
HeapFree(GetProcessHeap(), 0, wined3d_settings.logo);
UnregisterClassA(WINED3D_OPENGL_WINDOW_CLASS_NAME, hInstDLL);
+ DeleteCriticalSection(&wined3d_wndproc_cs);
+ DeleteCriticalSection(&wined3d_cs);
return TRUE;
}
--
1.7.7.1
More information about the wine-patches
mailing list