Page 1 of 1

Save Tabs When Crash Occurs

Posted: Sat Feb 12, 2011 8:02 pm
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");

Re: Save Tabs When Crash Occurs

Posted: Sat Feb 12, 2011 9:39 pm
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.