Created
January 10, 2014 22:57
-
-
Save kahrl/8364329 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/jthread/jmutexautolock.h b/src/jthread/jmutexautolock.h | |
index 6020a5c..b11b3df 100644 | |
--- a/src/jthread/jmutexautolock.h | |
+++ b/src/jthread/jmutexautolock.h | |
@@ -34,8 +34,8 @@ | |
class JMutexAutoLock | |
{ | |
public: | |
- JMutexAutoLock(JMutex &m) : mutex(m) { mutex.Lock(); } | |
- ~JMutexAutoLock() { mutex.Unlock(); } | |
+ JMutexAutoLock(JMutex &m) : mutex(m) { /*mutex.Lock();*/ } | |
+ ~JMutexAutoLock() { /*mutex.Unlock();*/ } | |
private: | |
JMutex &mutex; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment