summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/Src/HW/DVDInterface.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Core/Src/HW/DVDInterface.cpp b/Source/Core/Core/Src/HW/DVDInterface.cpp
index 14837f94ca..6e78694354 100644
--- a/Source/Core/Core/Src/HW/DVDInterface.cpp
+++ b/Source/Core/Core/Src/HW/DVDInterface.cpp
@@ -275,7 +275,11 @@ void Shutdown()
{
g_dvdQuitSignal = true;
g_dvdAlert.Set();
+#ifdef _WIN32
g_dvdThread->WaitForDeath(3000);
+#else
+ g_dvdThread->WaitForDeath();
+#endif
delete g_dvdThread;
g_dvdThread = NULL;