summaryrefslogtreecommitdiff
path: root/src/thread/thread_win32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/thread_win32.cpp')
-rw-r--r--src/thread/thread_win32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/thread_win32.cpp b/src/thread/thread_win32.cpp
index d002ddb88..6f9172f2f 100644
--- a/src/thread/thread_win32.cpp
+++ b/src/thread/thread_win32.cpp
@@ -146,7 +146,7 @@ public:
this->EndCritical();
WaitForSingleObject(this->event, INFINITE);
this->BeginCritical();
- this->recursive_count = this->recursive_count;
+ this->recursive_count = old_recursive_count;
}
/* virtual */ void SendSignal()