Removed forced debug output. Verified: _kern_shutdown(reboot = false) reboots too in qemu.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13708 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3,12 +3,6 @@
|
|||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// TODO: While debugging only. Remove when implementation is done.
|
|
||||||
#ifdef DEBUG
|
|
||||||
#undef DEBUG
|
|
||||||
#endif
|
|
||||||
#define DEBUG 1
|
|
||||||
|
|
||||||
#include <new>
|
#include <new>
|
||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
@@ -1106,6 +1100,8 @@ ShutdownProcess::_PrepareShutdownMessage(BMessage &message) const
|
|||||||
status_t
|
status_t
|
||||||
ShutdownProcess::_ShutDown()
|
ShutdownProcess::_ShutDown()
|
||||||
{
|
{
|
||||||
|
PRINT(("Invoking _kern_shutdown(%d)\n", fReboot));
|
||||||
|
|
||||||
#ifdef __HAIKU__
|
#ifdef __HAIKU__
|
||||||
RETURN_ERROR(_kern_shutdown(fReboot));
|
RETURN_ERROR(_kern_shutdown(fReboot));
|
||||||
#else
|
#else
|
||||||
@@ -1430,7 +1426,6 @@ ShutdownProcess::_QuitApps(AppInfoList &list, bool disableCancel)
|
|||||||
|
|
||||||
} while (event != NO_EVENT);
|
} while (event != NO_EVENT);
|
||||||
|
|
||||||
// TODO: check whether the app blocks on a modal alert
|
|
||||||
if (appGone) {
|
if (appGone) {
|
||||||
// fine: the app finished in an orderly manner
|
// fine: the app finished in an orderly manner
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user