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

2016-10-15 Thread Thiago Macieira
Em sábado, 15 de outubro de 2016, às 15:33:53 PDT, Liang Jian escreveu: > But I am still curious about that If we don't unload the plugin, will > the destructor of the gobal object in it be called? If it is not called, > what if the gobal object of the plugin hold some memory allocated from hea

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

2016-10-15 Thread Liang Jian
Yes, you are right. After applying the patch from https://codereview.qt-project.org/#/c/140750/ I didn't notice any leak report under Windows. Sorry for the noise. But I am still curious about that If we don't unload the plugin, will the destructor of the gobal object in it be called?