Save Tabs When Crash Occurs

Discuss development issues and submit patches here
Post Reply
twinsen
Posts: 109
Joined: Mon Dec 27, 2010 3:17 pm

Save Tabs When Crash Occurs

Post by twinsen »

Its quite annoying when unexpected crashes cause you to lose all your open tabs.
This patch saves the settings when a crash occurs.

To test the patch, you may consider putting a temporary crash in.
I put this in "ApplicationToolbarHandler.cpp/ApplicationToolbarOpenItem", and then I just click on an item in the app toolbar to cause a crash.

Code: Select all

throw std::exception("test crash");
Attachments
SaveTabsOnCrash_patch_v188.7z
(1.6 KiB) Downloaded 503 times
David Erceg
Site Admin
Posts: 936
Joined: Sat Apr 18, 2009 1:46 am

Re: Save Tabs When Crash Occurs

Post by David Erceg »

Rejected, if the program has crashed, it's likely that some part of the program state has been corrupted, and should not be saved.
Post Reply