Besides what @grb said, the second easiest (and safer) thing is to never close your browser or desktop app. In the desktop app, you can make actual closing (File → Quit menu) more explicit by setting these options:
Besides what @grb said, the second easiest (and safer) thing is to never close your browser or desktop app. In the desktop app, you can make actual closing (File → Quit menu) more explicit by setting these options: