For some outdated STR, see bug 912975. Whatever happens, the restore page (about:welcomeback as well as about:sessionrestore) should never close the last window. Either Restore should be disabled, or it should do the same as Close. We could improve here and say something about a corrupted file or whatever, but short term it should at least be less destructive.
You need to log in before you can comment on or make changes to this bug.