ui: flush UI state on exit

This commit is contained in:
Björn Linse
2018-09-09 16:42:53 +02:00
parent c5790d9189
commit 088ae23e4e

View File

@@ -138,8 +138,8 @@ void mch_exit(int r)
{
exiting = true;
ui_builtin_stop();
ui_flush();
ui_builtin_stop();
ml_close_all(true); // remove all memfiles
if (!event_teardown() && r == 0) {