aboutsummaryrefslogtreecommitdiff
path: root/core/io/file_access_network.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-09-12 12:55:53 +0200
committerGitHub2017-09-12 12:55:53 +0200
commitaabbd00284640a4789f96702c134ea40b11b402e (patch)
tree8363659a6551644b0d89401681e2909d5451a119 /core/io/file_access_network.cpp
parentc5e0e31f5106d7d91dc478af1f86740c74cea824 (diff)
parentb2a38854fdde296fd2d7da139a29b23a18ab494d (diff)
downloadgodot-aabbd00284640a4789f96702c134ea40b11b402e.tar.gz
godot-aabbd00284640a4789f96702c134ea40b11b402e.tar.zst
godot-aabbd00284640a4789f96702c134ea40b11b402e.zip
Diffstat (limited to 'core/io/file_access_network.cpp')
-rw-r--r--core/io/file_access_network.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/io/file_access_network.cpp b/core/io/file_access_network.cpp
index d8b8c8c20..58ca2d4c5 100644
--- a/core/io/file_access_network.cpp
+++ b/core/io/file_access_network.cpp
@@ -87,6 +87,8 @@ void FileAccessNetworkClient::_thread_func() {
DEBUG_PRINT("SEM WAIT - " + itos(sem->get()));
Error err = sem->wait();
+ if (err != OK)
+ ERR_PRINT("sem->wait() failed");
DEBUG_TIME("sem_unlock");
//DEBUG_PRINT("semwait returned "+itos(werr));
DEBUG_PRINT("MUTEX LOCK " + itos(lockcount));