#5617 Remove plugin infra from ServerApp

This commit is contained in:
Andrew Nelless 2016-09-27 12:33:34 +01:00
parent f7e588dfff
commit 85227f41a1
1 changed files with 0 additions and 11 deletions

View File

@ -707,11 +707,6 @@ ServerApp::mainLoop()
return kExitFailed;
}
// load all available plugins.
ARCH->plugin().load();
// pass log and arch into plugins.
ARCH->plugin().init(Log::getInstance(), Arch::getInstance());
// start server, etc
appUtil().startNode();
@ -721,9 +716,6 @@ ServerApp::mainLoop()
initIpcClient();
}
// init event for all available plugins.
ARCH->plugin().initEvent(m_serverScreen->getEventTarget(), m_events);
// handle hangup signal by reloading the server's configuration
ARCH->setSignalHandler(Arch::kHANGUP, &reloadSignalHandler, NULL);
m_events->adoptHandler(m_events->forServerApp().reloadConfig(),
@ -780,9 +772,6 @@ ServerApp::mainLoop()
cleanupIpcClient();
}
// unload all plugins.
ARCH->plugin().unload();
return kExitSuccess;
}