refactor: daemonRunning is not used for client / server
This commit is contained in:
parent
f8ae8c5781
commit
3993449594
2 changed files with 0 additions and 22 deletions
|
|
@ -22,10 +22,6 @@
|
||||||
#include "net/SocketMultiplexer.h"
|
#include "net/SocketMultiplexer.h"
|
||||||
#include "net/TCPSocketFactory.h"
|
#include "net/TCPSocketFactory.h"
|
||||||
|
|
||||||
#if SYSAPI_WIN32
|
|
||||||
#include "arch/win32/ArchDaemonWindows.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if WINAPI_MSWINDOWS
|
#if WINAPI_MSWINDOWS
|
||||||
#include "platform/MSWindowsScreen.h"
|
#include "platform/MSWindowsScreen.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -299,9 +295,6 @@ int ClientApp::mainLoop()
|
||||||
// run event loop. if startClient() failed we're supposed to retry
|
// run event loop. if startClient() failed we're supposed to retry
|
||||||
// later. the timer installed by startClient() will take care of
|
// later. the timer installed by startClient() will take care of
|
||||||
// that.
|
// that.
|
||||||
#if SYSAPI_WIN32
|
|
||||||
ArchDaemonWindows::daemonRunning(true);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if WINAPI_CARBON
|
#if WINAPI_CARBON
|
||||||
|
|
||||||
|
|
@ -316,10 +309,6 @@ int ClientApp::mainLoop()
|
||||||
getEvents()->loop();
|
getEvents()->loop();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if SYSAPI_WIN32
|
|
||||||
ArchDaemonWindows::daemonRunning(false);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// close down
|
// close down
|
||||||
LOG_DEBUG1("stopping client");
|
LOG_DEBUG1("stopping client");
|
||||||
stopClient();
|
stopClient();
|
||||||
|
|
|
||||||
|
|
@ -30,10 +30,6 @@
|
||||||
// must be before screen header includes
|
// must be before screen header includes
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
|
|
||||||
#if SYSAPI_WIN32
|
|
||||||
#include "arch/win32/ArchDaemonWindows.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if WINAPI_MSWINDOWS
|
#if WINAPI_MSWINDOWS
|
||||||
#include "platform/MSWindowsScreen.h"
|
#include "platform/MSWindowsScreen.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -556,9 +552,6 @@ int ServerApp::mainLoop()
|
||||||
// run event loop. if startServer() failed we're supposed to retry
|
// run event loop. if startServer() failed we're supposed to retry
|
||||||
// later. the timer installed by startServer() will take care of
|
// later. the timer installed by startServer() will take care of
|
||||||
// that.
|
// that.
|
||||||
#if SYSAPI_WIN32
|
|
||||||
ArchDaemonWindows::daemonRunning(true);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if WINAPI_CARBON
|
#if WINAPI_CARBON
|
||||||
|
|
||||||
|
|
@ -573,10 +566,6 @@ int ServerApp::mainLoop()
|
||||||
getEvents()->loop();
|
getEvents()->loop();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if SYSAPI_WIN32
|
|
||||||
ArchDaemonWindows::daemonRunning(false);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// close down
|
// close down
|
||||||
LOG_DEBUG1("stopping server");
|
LOG_DEBUG1("stopping server");
|
||||||
getEvents()->removeHandler(EventTypes::ServerAppForceReconnect, getEvents()->getSystemTarget());
|
getEvents()->removeHandler(EventTypes::ServerAppForceReconnect, getEvents()->getSystemTarget());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue