#5617 Remove plugin infra from ClientApp
This commit is contained in:
parent
85227f41a1
commit
011da60cca
|
@ -455,11 +455,6 @@ ClientApp::mainLoop()
|
||||||
SocketMultiplexer multiplexer;
|
SocketMultiplexer multiplexer;
|
||||||
setSocketMultiplexer(&multiplexer);
|
setSocketMultiplexer(&multiplexer);
|
||||||
|
|
||||||
// load all available plugins.
|
|
||||||
ARCH->plugin().load();
|
|
||||||
// pass log and arch into plugins.
|
|
||||||
ARCH->plugin().init(Log::getInstance(), Arch::getInstance());
|
|
||||||
|
|
||||||
// start client, etc
|
// start client, etc
|
||||||
appUtil().startNode();
|
appUtil().startNode();
|
||||||
|
|
||||||
|
@ -469,9 +464,6 @@ ClientApp::mainLoop()
|
||||||
initIpcClient();
|
initIpcClient();
|
||||||
}
|
}
|
||||||
|
|
||||||
// init event for all available plugins.
|
|
||||||
ARCH->plugin().initEvent(m_clientScreen->getEventTarget(), m_events);
|
|
||||||
|
|
||||||
// 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.
|
||||||
|
@ -506,9 +498,6 @@ ClientApp::mainLoop()
|
||||||
cleanupIpcClient();
|
cleanupIpcClient();
|
||||||
}
|
}
|
||||||
|
|
||||||
// unload all plugins.
|
|
||||||
ARCH->plugin().unload();
|
|
||||||
|
|
||||||
return kExitSuccess;
|
return kExitSuccess;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue