#5617 Remove plugin infra from ClientApp
This commit is contained in:
parent
85227f41a1
commit
011da60cca
|
@ -455,11 +455,6 @@ ClientApp::mainLoop()
|
|||
SocketMultiplexer 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
|
||||
appUtil().startNode();
|
||||
|
||||
|
@ -469,9 +464,6 @@ ClientApp::mainLoop()
|
|||
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
|
||||
// later. the timer installed by startClient() will take care of
|
||||
// that.
|
||||
|
@ -506,9 +498,6 @@ ClientApp::mainLoop()
|
|||
cleanupIpcClient();
|
||||
}
|
||||
|
||||
// unload all plugins.
|
||||
ARCH->plugin().unload();
|
||||
|
||||
return kExitSuccess;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue