call mg_TerminateCompositor in TerminateGUI

This commit is contained in:
Vincent Wei
2021-03-28 19:37:38 +08:00
parent 82edb53d22
commit 383d70b446
+4
View File
@@ -611,6 +611,10 @@ void TerminateGUI (int rcByGUI)
if (_is_server) {
mg_TerminateDesktop ();
#ifdef _MGSCHEMA_COMPOSITING
mg_TerminateCompositor ();
#endif
/* Cleanup UNIX domain socket and other IPC objects. */
server_ServerCleanup ();
}