diff --git a/src/servers/app/ServerApp.cpp b/src/servers/app/ServerApp.cpp index b317c76b06..743a49b9c0 100644 --- a/src/servers/app/ServerApp.cpp +++ b/src/servers/app/ServerApp.cpp @@ -223,6 +223,13 @@ ServerApp::InitCheck() } +void +ServerApp::Quit() +{ + Quit(-1); +} + + /*! \brief This quits the application and deletes it. You're not supposed to call its destructor directly. diff --git a/src/servers/app/ServerApp.h b/src/servers/app/ServerApp.h index 565e05a790..a1baeb275e 100644 --- a/src/servers/app/ServerApp.h +++ b/src/servers/app/ServerApp.h @@ -48,7 +48,9 @@ public: virtual ~ServerApp(); status_t InitCheck(); - void Quit(sem_id shutdownSemaphore = -1); + + virtual void Quit(); + void Quit(sem_id shutdownSemaphore); virtual port_id MessagePort() const { return fMessagePort; }