summaryrefslogtreecommitdiffstats
path: root/core/command_queue_mt.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-01-04 00:00:33 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-01-04 00:00:33 -0300
commit0e71d49ef41ee0c2347f549b4a6fa79ef8c57ddb (patch)
tree199e1883d279d91a5bc318ea2ef64f85a9f9f403 /core/command_queue_mt.h
parentcb39db0b02c2d69994e2cd523844a2a9d3087d85 (diff)
downloadredot-engine-0e71d49ef41ee0c2347f549b4a6fa79ef8c57ddb.tar.gz
-Fix crash at exit due to unnecesary check in command queue, fixes #2034
-Fix memory corruption due to using wrong singleton in multithreaded physics, fixes #2760
Diffstat (limited to 'core/command_queue_mt.h')
-rw-r--r--core/command_queue_mt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/command_queue_mt.h b/core/command_queue_mt.h
index 84c3687b08..4fd33e3a55 100644
--- a/core/command_queue_mt.h
+++ b/core/command_queue_mt.h
@@ -983,7 +983,7 @@ public:
void flush_all() {
- ERR_FAIL_COND(sync);
+ //ERR_FAIL_COND(sync);
lock();
while (true) {
bool exit = !flush_one();