path: root/src/dbus/qdbusreply.h
diff options
authorThiago Macieira <>2013-02-05 13:39:54 -0800
committerThe Qt Project <>2013-02-07 23:32:05 +0100
commitf79cc2d66b16af40aef7af1803c3ba50c939b03f (patch)
tree15f758377f18e4b2d17514aef4624872ed45b75b /src/dbus/qdbusreply.h
parent155a20628b91a7a2e24264feae12f4607574cb6b (diff)
Fix crash-on-exit with some plugin systems (e.g. sensors)
Don't assume that all entries in the QLibrary global data refer to libraries have have been loaded. There are three (not two) ways of getting entries there: 1) creating a QLibrary 2) using the static QLibrary::resolve 3) via plugins The unload code was meant to handle the first two cases only: libraries are still loaded at the end of the execution if the static methods were called or if QLibrary objects were leaked. It didn't handle the case of plugins being found by the directory scanner in QFactoryLoader but never loaded. Note it's possible that this assertion also happened with leaked QLibrary. Change-Id: Idcd7a551f96d8fe500cbca682f8014f5122b7584 Reviewed-by: Thomas McGuire <> Reviewed-by: Lars Knoll <>
Diffstat (limited to 'src/dbus/qdbusreply.h')
0 files changed, 0 insertions, 0 deletions