summaryrefslogtreecommitdiff
path: root/core/os/mutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/mutex.cpp')
-rw-r--r--core/os/mutex.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/os/mutex.cpp b/core/os/mutex.cpp
index 9b379009b9..21400d2ccf 100644
--- a/core/os/mutex.cpp
+++ b/core/os/mutex.cpp
@@ -50,13 +50,13 @@ Mutex::~Mutex() {
Mutex *_global_mutex=NULL;;
void _global_lock() {
-
+
if (_global_mutex)
_global_mutex->lock();
}
void _global_unlock() {
-
+
if (_global_mutex)
- _global_mutex->unlock();
+ _global_mutex->unlock();
}