fixed: ipc client running on synergyc wasn't sending hello message, and so wasn't getting shutdown message. edits to CIpcClient or CIpcTests weren't really needed, but looks slightly better this way maybe.

This commit is contained in:
Nick Bolton
2012-07-10 11:23:08 +00:00
parent 5be1fd0cfa
commit f9f04034c9
3 changed files with 28 additions and 17 deletions

View File

@@ -528,13 +528,15 @@ CClientApp::mainLoop()
// create the event queue
CEventQueue eventQueue;
if (argsBase().m_enableIpc) {
initIpcClient();
}
// start client, etc
appUtil().startNode();
// init ipc client after node start, since create a new screen wipes out
// the event queue (the screen ctors call adoptBuffer).
if (argsBase().m_enableIpc) {
initIpcClient();
}
// load all available plugins.
ARCH->plugin().init(s_clientScreen->getEventTarget());