When I modify the xadd() proc to
    
    
    proc xadd(self: Container; widget: Button) =
      discard
    

then finalizer is called again!

So problem is, that Button is a Widget which is again a GObject...

Which results for the initial code to
    
    
    >   T4_ = &button2->Sup.Sup.Sup;
    >   xadd_CSJDajTMVqA4FK5tE4Bzgg(T3_, T4_);
    

So is blocking the finalizer call intended? If yes, that would mean that I can 
not proof for memory leaks in this way.

Reply via email to