From 6a1f951ff321982413b462b79293b273bbcc00de Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Wed, 29 Sep 2010 14:49:44 +0200 Subject: Fix crashes on exit. This is a followup to 397295f1a, the unloading of plugins on exit is not something we did and it causes crashes for old plugins. It also just slows down the exiting. So going back to not unloading as before. Reviewed-by: Thierry Bastian --- src/corelib/plugin/qlibrary.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/corelib/plugin/qlibrary.cpp b/src/corelib/plugin/qlibrary.cpp index f812275..5683c66 100644 --- a/src/corelib/plugin/qlibrary.cpp +++ b/src/corelib/plugin/qlibrary.cpp @@ -410,9 +410,6 @@ struct LibraryData { LibraryData() : settings(0) { } ~LibraryData() { delete settings; - foreach(QLibraryPrivate *lib, loadedLibs) { - lib->unload(); - } } QSettings *settings; -- cgit v0.12