Memory Leak with Tkinter Canvas (Python 2.5 Win32)

Hendrik van Rooyen mail at microcorp.co.za
Fri Aug 3 02:26:30 EDT 2007


"frikk" <fr...l.com> wrote:

>   1.  ....... Am I somehow leaving
> objects laying around that aren't being deleted? Is create_rectangle
> not the appropriate function to use?)

Try calling the canvas's delete method with the old rectangle before
making a new one.

- Hendrik




More information about the Python-list mailing list