#include "lyx_cb.h"
#include "buffer.h"
+#include "bufferlist.h"
#include "BufferView.h"
#include "buffer_funcs.h"
#include "cursor.h"
#include "support/filefilterlist.h"
#include "support/filetools.h"
+#include "support/fontutils.h"
#include "support/forkedcall.h"
#include "support/fs_extras.h"
#include "support/lyxlib.h"
Alert::warning(_("Unable to remove temporary directory"), msg);
}
- lyx_gui::exit(0);
+ theApp->exit(0);
+ // Restore original font resources after Application is destroyed.
+ lyx::support::restoreFontResources();
}