summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index b53e9ef0f7..5648676c4c 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1871,6 +1871,7 @@ void Main::cleanup() {
if (engine)
memdelete(engine);
+ message_queue->flush();
memdelete(message_queue);
unregister_core_driver_types();