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/TCPSocketFactory.h"
|
||||
|
||||
#if SYSAPI_WIN32
|
||||
#include "arch/win32/ArchDaemonWindows.h"
|
||||
#endif
|
||||
|
||||
#if WINAPI_MSWINDOWS
|
||||
#include "platform/MSWindowsScreen.h"
|
||||
#endif
|
||||
|
|
@ -299,9 +295,6 @@ int ClientApp::mainLoop()
|
|||
// run event loop. if startClient() failed we're supposed to retry
|
||||
// later. the timer installed by startClient() will take care of
|
||||
// that.
|
||||
#if SYSAPI_WIN32
|
||||
ArchDaemonWindows::daemonRunning(true);
|
||||
#endif
|
||||
|
||||
#if WINAPI_CARBON
|
||||
|
||||
|
|
@ -316,10 +309,6 @@ int ClientApp::mainLoop()
|
|||
getEvents()->loop();
|
||||
#endif
|
||||
|
||||
#if SYSAPI_WIN32
|
||||
ArchDaemonWindows::daemonRunning(false);
|
||||
#endif
|
||||
|
||||
// close down
|
||||
LOG_DEBUG1("stopping client");
|
||||
stopClient();
|
||||
|
|
|
|||
|
|
@ -30,10 +30,6 @@
|
|||
// must be before screen header includes
|
||||
#include <QFileInfo>
|
||||
|
||||
#if SYSAPI_WIN32
|
||||
#include "arch/win32/ArchDaemonWindows.h"
|
||||
#endif
|
||||
|
||||
#if WINAPI_MSWINDOWS
|
||||
#include "platform/MSWindowsScreen.h"
|
||||
#endif
|
||||
|
|
@ -556,9 +552,6 @@ int ServerApp::mainLoop()
|
|||
// run event loop. if startServer() failed we're supposed to retry
|
||||
// later. the timer installed by startServer() will take care of
|
||||
// that.
|
||||
#if SYSAPI_WIN32
|
||||
ArchDaemonWindows::daemonRunning(true);
|
||||
#endif
|
||||
|
||||
#if WINAPI_CARBON
|
||||
|
||||
|
|
@ -573,10 +566,6 @@ int ServerApp::mainLoop()
|
|||
getEvents()->loop();
|
||||
#endif
|
||||
|
||||
#if SYSAPI_WIN32
|
||||
ArchDaemonWindows::daemonRunning(false);
|
||||
#endif
|
||||
|
||||
// close down
|
||||
LOG_DEBUG1("stopping server");
|
||||
getEvents()->removeHandler(EventTypes::ServerAppForceReconnect, getEvents()->getSystemTarget());
|
||||
|
|
|
|||
Loading…
Reference in a new issue