| 1807 | } |
| 1808 | |
| 1809 | void QuitAttempt() { |
| 1810 | const auto savingSession = Sandbox::Instance().isSavingSession(); |
| 1811 | if (!IsAppLaunched() |
| 1812 | || savingSession |
| 1813 | || App().readyToQuit()) { |
| 1814 | Sandbox::QuitWhenStarted(); |
| 1815 | } |
| 1816 | } |
| 1817 | |
| 1818 | bool Application::readyToQuit() { |
| 1819 | auto prevented = false; |
no test coverage detected