diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -893,12 +893,14 @@ static void deinit_App(iApp *d) { | |||
893 | #endif | 893 | #endif |
894 | SDL_RemoveTimer(d->autoReloadTimer); | 894 | SDL_RemoveTimer(d->autoReloadTimer); |
895 | saveState_App_(d); | 895 | saveState_App_(d); |
896 | savePrefs_App_(d); | ||
897 | delete_MainWindow(d->window); | ||
898 | d->window = NULL; | ||
896 | deinit_Feeds(); | 899 | deinit_Feeds(); |
897 | save_Keys(dataDir_App_()); | 900 | save_Keys(dataDir_App_()); |
898 | deinit_Keys(); | 901 | deinit_Keys(); |
899 | deinit_Fonts(); | 902 | deinit_Fonts(); |
900 | deinit_SiteSpec(); | 903 | deinit_SiteSpec(); |
901 | savePrefs_App_(d); | ||
902 | deinit_Prefs(&d->prefs); | 904 | deinit_Prefs(&d->prefs); |
903 | save_Bookmarks(d->bookmarks, dataDir_App_()); | 905 | save_Bookmarks(d->bookmarks, dataDir_App_()); |
904 | delete_Bookmarks(d->bookmarks); | 906 | delete_Bookmarks(d->bookmarks); |
@@ -907,7 +909,6 @@ static void deinit_App(iApp *d) { | |||
907 | delete_GmCerts(d->certs); | 909 | delete_GmCerts(d->certs); |
908 | save_MimeHooks(d->mimehooks); | 910 | save_MimeHooks(d->mimehooks); |
909 | delete_MimeHooks(d->mimehooks); | 911 | delete_MimeHooks(d->mimehooks); |
910 | delete_MainWindow(d->window); | ||
911 | d->window = NULL; | 912 | d->window = NULL; |
912 | deinit_CommandLine(&d->args); | 913 | deinit_CommandLine(&d->args); |
913 | iRelease(d->launchCommands); | 914 | iRelease(d->launchCommands); |