5 ms·
In macOS, apps tell the OS whether they're capable of perfectly restoring their state after a reboot. If you, or the system, initiates a reboot/shutdown, and a
by derefr 8y ago
In macOS, apps tell the OS whether they're capable of perfectly restoring their state after a reboot.
If you, or the system, initiates a reboot/shutdown, and all apps that you have running are such apps, the reboot will just happen, with no further confirmation.
If, however, any app that you have running does not assert that it can be perfectly restored after reboot, then the OS will pause the reboot process and prompt the user to confirm that they want to shut down said app. If the user says no, the reboot is aborted. If the user does nothing (or isn't there to respond), the computer just stays stuck on that prompt forever.
I don't see anything wrong with such a "conservative" auto-detection system, personally.
- Wowfunhappy 8y agoOh, I'd have no problem with that. It works fine on macOS, as you say. Microsoft would have to actually implement it that way, though.
- naikrovek 8y agoWindows offers that capability as well. Applications can be "reboot-aware" and relaunch after a reboot in their pre-reboot state. Not many apps take advantage of that, however.
- com2kid 8y agoMy browsers do, my IDEs do, and my productivity apps do. All in all, not too shabby.
- Wowfunhappy 8y agoBut Windows will reboot for an update even if an app isn’t “reboot aware”. So I can be encoding videos or downloading a large game and it will just reboot, and I’ll wake up to the task not done.
- int_19h 8y agoWindows implements it in exactly this same way though. If all apps report that they can handle it gracefully, it reboots, otherwise you get a similar prompt. Problem is, apps can lie.