mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-05 11:28:22 +08:00
ipc client connect test with working unit tests.
This commit is contained in:
@@ -538,14 +538,8 @@ CClientApp::mainLoop()
|
||||
// run event loop. if startClient() failed we're supposed to retry
|
||||
// later. the timer installed by startClient() will take care of
|
||||
// that.
|
||||
CEvent event;
|
||||
DAEMON_RUNNING(true);
|
||||
EVENTQUEUE->getEvent(event);
|
||||
while (event.getType() != CEvent::kQuit) {
|
||||
EVENTQUEUE->dispatchEvent(event);
|
||||
CEvent::deleteData(event);
|
||||
EVENTQUEUE->getEvent(event);
|
||||
}
|
||||
EVENTQUEUE->loop();
|
||||
DAEMON_RUNNING(false);
|
||||
|
||||
// close down
|
||||
|
||||
Reference in New Issue
Block a user