summaryrefslogtreecommitdiff
path: root/core/print_string.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-05-30 12:01:20 +0200
committerGitHub <noreply@github.com>2019-05-30 12:01:20 +0200
commit9d6294c78a340c6452f0b3f11a67c186647d6ed7 (patch)
treea1ba3ff513bb63761951a3d24c338b4cae6435d5 /core/print_string.cpp
parent8c923fc61740afd560e6c814f7ef19b0cdc30112 (diff)
parenta32f020b53d36bed8de61d4313c572c72bcde3bb (diff)
Merge pull request #29304 from qarmin/fix_unlocking_mutex
Properly unlock mutex
Diffstat (limited to 'core/print_string.cpp')
-rw-r--r--core/print_string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/print_string.cpp b/core/print_string.cpp
index d91d49f53b..3271744af3 100644
--- a/core/print_string.cpp
+++ b/core/print_string.cpp
@@ -68,8 +68,8 @@ void remove_print_handler(PrintHandlerList *p_handler) {
}
//OS::get_singleton()->print("print handler list is %p\n",print_handler_list);
- ERR_FAIL_COND(l == NULL);
_global_unlock();
+ ERR_FAIL_COND(l == NULL);
}
void print_line(String p_string) {