Merge pull request #14860 from chongdashu/fix-12946-crash-editor-save-exit
Fix editor crash on "save and exit" bug
This commit is contained in:
commit
fd8f679b13
|
@ -1871,6 +1871,7 @@ void Main::cleanup() {
|
||||||
if (engine)
|
if (engine)
|
||||||
memdelete(engine);
|
memdelete(engine);
|
||||||
|
|
||||||
|
message_queue->flush();
|
||||||
memdelete(message_queue);
|
memdelete(message_queue);
|
||||||
|
|
||||||
unregister_core_driver_types();
|
unregister_core_driver_types();
|
||||||
|
|
Loading…
Reference in New Issue