OSDN Git Service

unload plugins only from the global static QLibrary list
authorIvailo Monev <xakepa10@gmail.com>
Wed, 15 Jun 2022 22:59:31 +0000 (01:59 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Wed, 15 Jun 2022 22:59:31 +0000 (01:59 +0300)
commit319d0dbe6d336aeaac196d13ea67d901d6469cbb
treeffb1b9ba1704d4ebeead2660d24d6a99f84e5352
parent8c41f09bcf1d14a36d84b18983ebe6d80aa3422a
unload plugins only from the global static QLibrary list

plugin instances may leak but programs will not crash at exit depending on
the order of the global statics destructor calls, this faulty behaviour
was the case before 87ec0537e80d284ad215689311a01a370234446d

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/plugin/qfactoryloader.cpp
src/core/plugin/qlibrary.cpp