updated pluging loader for Windows #4313

This commit is contained in:
XinyuHou
2015-01-09 13:46:35 +00:00
parent de8fe7e2a5
commit 1d7eb3f5cb
12 changed files with 180 additions and 48 deletions

View File

@@ -458,6 +458,9 @@ ClientApp::mainLoop()
SocketMultiplexer multiplexer;
setSocketMultiplexer(&multiplexer);
// load all available plugins.
ARCH->plugin().load();
// start client, etc
appUtil().startNode();
@@ -467,7 +470,7 @@ ClientApp::mainLoop()
initIpcClient();
}
// load all available plugins.
// init all available plugins.
ARCH->plugin().init(m_clientScreen->getEventTarget(), m_events);
// run event loop. if startClient() failed we're supposed to retry