Memory Leak with Tkinter Canvas (Python 2.5 Win32)
frikker at gmail.com
Fri Aug 3 14:54:57 CEST 2007
On Aug 3, 2:26 am, "Hendrik van Rooyen" <m... at microcorp.co.za> wrote:
> "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
Both of your suggestions were perfect - I was just unaware I was
actually creating new *object* instead of drawing on the canvas. noob
mistake. Thanks again!
More information about the Python-list