From 0e71d49ef41ee0c2347f549b4a6fa79ef8c57ddb Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 4 Jan 2016 00:00:33 -0300 Subject: -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 --- core/command_queue_mt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/command_queue_mt.h') 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(); -- cgit v1.2.3