did not pass arch into plugins #4313
This commit is contained in:
parent
8e4f758cb1
commit
0f686ff308
|
@ -460,7 +460,7 @@ ClientApp::mainLoop()
|
||||||
// load all available plugins.
|
// load all available plugins.
|
||||||
ARCH->plugin().load();
|
ARCH->plugin().load();
|
||||||
// pass log and arch into plugins.
|
// pass log and arch into plugins.
|
||||||
ARCH->plugin().init(Log::getInstance(), Arch::getInstance());
|
ARCH->plugin().init(Log::getInstance());
|
||||||
|
|
||||||
// start client, etc
|
// start client, etc
|
||||||
appUtil().startNode();
|
appUtil().startNode();
|
||||||
|
|
|
@ -710,7 +710,7 @@ ServerApp::mainLoop()
|
||||||
// load all available plugins.
|
// load all available plugins.
|
||||||
ARCH->plugin().load();
|
ARCH->plugin().load();
|
||||||
// pass log and arch into plugins.
|
// pass log and arch into plugins.
|
||||||
ARCH->plugin().init(Log::getInstance(), Arch::getInstance());
|
ARCH->plugin().init(Log::getInstance());
|
||||||
|
|
||||||
// start server, etc
|
// start server, etc
|
||||||
appUtil().startNode();
|
appUtil().startNode();
|
||||||
|
|
Loading…
Reference in New Issue