Commit adef5145 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Clean up modules after shutting down plugins. JM-1069

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@8339 b35dd754-fafc-0310-a699-88a17e54d16e
parent 7bc70a6b
......@@ -891,11 +891,11 @@ public class XMPPServer {
module.stop();
module.destroy();
}
modules.clear();
// Stop all plugins
if (pluginManager != null) {
pluginManager.shutdown();
}
modules.clear();
// Stop the Db connection manager.
DbConnectionManager.destroyConnectionProvider();
// hack to allow safe stopping
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment