-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
This commit is contained in:
Juan Linietsky
2016-01-04 00:00:33 -03:00
parent cb39db0b02
commit 0e71d49ef4
3 changed files with 6 additions and 5 deletions

View File

@ -983,7 +983,7 @@ public:
void flush_all() {
ERR_FAIL_COND(sync);
//ERR_FAIL_COND(sync);
lock();
while (true) {
bool exit = !flush_one();