Commit d5451076 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Workaround a crash when destroying global statics on shutdown

parent 08bdf758
......@@ -117,10 +117,16 @@ void SearchManager::quit()
qDeleteAll(mEngines);
qDeleteAll(mPlugins);
/*
* FIXME: Unloading plugin messes up some global statics from client libs
* and causes crash on Akonadi shutdown (below main). Keeping the plugins
* loaded is not really a big issue as this is only invoked on server shutdown
* anyway, so we are not leaking any memory.
Q_FOREACH (QPluginLoader *loader, mPluginLoaders) {
loader->unload();
delete loader;
}
*/
AkThread::quit();
}
......
Supports Markdown
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