mirror of
https://github.com/glfw/glfw.git
synced 2026-09-17 22:32:50 +00:00
Added missing module handle freeing.
This commit is contained in:
@@ -107,6 +107,12 @@ static void terminateLibraries(void)
|
||||
_glfw.win32.winmm.instance = NULL;
|
||||
}
|
||||
#endif // _GLFW_NO_DLOAD_WINMM
|
||||
|
||||
if (_glfw.win32.user32.instance)
|
||||
FreeLibrary(_glfw.win32.user32.instance);
|
||||
|
||||
if (_glfw.win32.dwmapi.instance)
|
||||
FreeLibrary(_glfw.win32.dwmapi.instance);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user