From 0159a027e4fd7e5be2d9a2d4627a8fafdcb1328e Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Wed, 17 Dec 2008 18:20:41 +0000 Subject: [PATCH] remove a line that was meant to be temporary. I tested a bunch of times, and couldn't get it to hang. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1567 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/DynamicLibrary.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Source/Core/Common/Src/DynamicLibrary.cpp b/Source/Core/Common/Src/DynamicLibrary.cpp index fa4b361677..84d9816f1d 100644 --- a/Source/Core/Common/Src/DynamicLibrary.cpp +++ b/Source/Core/Common/Src/DynamicLibrary.cpp @@ -26,7 +26,6 @@ #include "Common.h" #include "StringUtil.h" #include "DynamicLibrary.h" -#include "../../Core/Src/PowerPC/PowerPC.h" DynamicLibrary::DynamicLibrary() { @@ -116,13 +115,7 @@ int 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) - retval = FreeLibrary(library); + retval = FreeLibrary(library); #else retval = dlclose(library)?0:1; #endif