Windows Vista
If you have more than one open window, and you close all of them, only the last window closed will be restored if you have the "Show my windows and tabs from last time" setting on.
Session Restore