[Development] Backporting the "stop unloading plugins" change to 5.6
Thiago Macieira
thiago.macieira at intel.com
Tue Oct 25 19:43:35 CEST 2016
On segunda-feira, 17 de outubro de 2016 14:46:29 PDT Lars Knoll wrote:
> I have to agree with Thiago. For QFactoryLoader, it doesn't make a lot of
> sense to try to unload the plugins, as we only do that on program exit.
>
> It would be great to make plugins safe to unload, but we all know that this
> is tricky to get right. In addition, we don't even control all the plugins
> we might be loading (thing about additional image formats of styles
> provided by others), so we have no way of knowing whether we can safely
> unload the plugin.
>
> So I think it's the right thing to change this in 5.6 and not unload those
> plugins on app exit.
https://codereview.qt-project.org/174911
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list