-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:
@ -983,7 +983,7 @@ public:
|
||||
|
||||
void flush_all() {
|
||||
|
||||
ERR_FAIL_COND(sync);
|
||||
//ERR_FAIL_COND(sync);
|
||||
lock();
|
||||
while (true) {
|
||||
bool exit = !flush_one();
|
||||
|
||||
Reference in New Issue
Block a user