Revert "did not pass arch into plugins #4313"
This reverts commit 0f686ff308
.
This commit is contained in:
parent
0f686ff308
commit
9f1255d986
|
@ -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->plugin().init(Log::getInstance(), Arch::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->plugin().init(Log::getInstance(), Arch::getInstance());
|
||||||
|
|
||||||
// start server, etc
|
// start server, etc
|
||||||
appUtil().startNode();
|
appUtil().startNode();
|
||||||
|
|
Loading…
Reference in New Issue