call mg_DestroyFreeQMSGList after terminating desktop

This commit is contained in:
Vincent Wei
2020-03-16 14:47:42 +08:00
parent 6ad5529ee7
commit 44b8552307

View File

@@ -582,7 +582,6 @@ void TerminateGUI (int rcByGUI)
__mg_join_all_message_threads ();
#endif
mg_DestroyFreeQMSGList ();
mg_TerminateAccel ();
mg_TerminateControlClass ();
@@ -616,6 +615,8 @@ void TerminateGUI (int rcByGUI)
}
#endif
mg_DestroyFreeQMSGList ();
#ifdef _MGHAVE_ADV_2DAPI
extern void miFreeArcCache (void);
miFreeArcCache ();