summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qlibrary.cpp
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-09-29 12:49:44 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-09-30 11:17:02 (GMT)
commit6a1f951ff321982413b462b79293b273bbcc00de (patch)
tree6d0308326f12792f95c8b2e175e8904a5f570fdf /src/corelib/plugin/qlibrary.cpp
parente15aab1f7d1f8330a4610621a5bf17983b9ef39f (diff)
downloadQt-6a1f951ff321982413b462b79293b273bbcc00de.zip
Qt-6a1f951ff321982413b462b79293b273bbcc00de.tar.gz
Qt-6a1f951ff321982413b462b79293b273bbcc00de.tar.bz2
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
Diffstat (limited to 'src/corelib/plugin/qlibrary.cpp')
-rw-r--r--src/corelib/plugin/qlibrary.cpp3
1 files changed, 0 insertions, 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;