added plugin unload and cleanup #4313

This commit is contained in:
XinyuHou 2015-01-27 10:42:10 +00:00
parent 10cddb97a8
commit 85813fd49b
16 changed files with 86 additions and 19 deletions

View file

@ -780,6 +780,9 @@ ServerApp::mainLoop()
cleanupIpcClient();
}
// unload all plugins.
ARCH->plugin().unload();
return kExitSuccess;
}