diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/windows/common/auto_critical_section.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/windows/common/auto_critical_section.h b/src/client/windows/common/auto_critical_section.h index a2076b04..40287427 100644 --- a/src/client/windows/common/auto_critical_section.h +++ b/src/client/windows/common/auto_critical_section.h @@ -63,8 +63,8 @@ class AutoCriticalSection { // the critical seciton has been entered already. void Release() { assert(taken_); - LeaveCriticalSection(cs_); taken_ = false; + LeaveCriticalSection(cs_); } private: |