nana-extra icon indicating copy to clipboard operation
nana-extra copied to clipboard

pgitem memory leak

Open robin88chen opened this issue 3 years ago • 1 comments

pgitem should have a virtual destructor, otherwise the derived class will not destruct and there will be memory leaks.

robin88chen avatar Feb 25 '22 02:02 robin88chen

Hi @lancelot-coder-chen ,

you are right!!! Thanks I already added a virtual dtor in the control included into nana-creator but I didn't update nana-extra repo, sorry. Just uploaded to latest version (it also include a better management of events emition).

Ciao

besh81 avatar Feb 25 '22 08:02 besh81