From: Lucian D. <lu...@lu...> - 2006-11-04 16:42:03
|
>> Seems that the custom events derived from Wx::PlEvent / Wx::PlCommandEvent are >> not destroyed until the global destruction phase, when interpreter exit. How >> can be freed the memory they occupy before that END phase ? > They are supposed to be destroyed when the last reference goes away. > I will investigate. Do you have some (simple) example code? Yes, I extracted something from my app. I finded that custom events are not destroyed automatically when I attached some object to events ($evt->{prop} = $obj), but they was not released until exit. Thank you, Lucian Dragus |