diff options
Diffstat (limited to 'Source/Core/Common/Src/DynamicLibrary.cpp')
| -rw-r--r-- | Source/Core/Common/Src/DynamicLibrary.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/DynamicLibrary.cpp b/Source/Core/Common/Src/DynamicLibrary.cpp index b8fa470705..70ffe82347 100644 --- a/Source/Core/Common/Src/DynamicLibrary.cpp +++ b/Source/Core/Common/Src/DynamicLibrary.cpp @@ -110,6 +110,11 @@ void DynamicLibrary::Unload() }
#ifdef _WIN32
+ /* TEMPORARY SOLUTION: To prevent that Dolphin hangs when a game is stopped
+ or when we try to close Dolphin. It's possible that it only occur when we render
+ to the main window. And sometimes FreeLibrary works without any problem, so
+ don't remove this just because it doesn't hang once. I could not find the
+ actual cause of it. */
if( ! (library_file.find("OGL.") != std::string::npos) && !PowerPC::CPU_POWERDOWN)
FreeLibrary(library);
#else
|
