[Development] Backporting the "stop unloading plugins" change to 5.6

Thiago Macieira thiago.macieira at intel.com
Fri Oct 14 20:07:34 CEST 2016


Em sexta-feira, 14 de outubro de 2016, às 16:08:27 PDT, Liang Jian escreveu:
>     I don't care custom plugin, What I care is the plugins loaded by qt
> itself, such as qpa plugin, images format plugins ..., These plugins are
> needed for all qt programs, we can't avoid the leaks caused by not
> unloading these plugins if my understanding to this issue is right (Maybe
> you don't think that are leaks but they will confuse memory leak detector),
> that is why I hope to introduce a method to disable this feature at runtime.

What do you prefer?

1) leak
2) crash and leak

Either way, the dlclose() call will not happen.

Note that this has nothing to do with freeing memory. Only the dlclose().

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list