Re: The Async delete problem....

Greg Ewing <[email protected]> Mon, 16 Dec 2019 11:39:17 +1300
Newsgroups gmane.comp.python.tkinter
Message-ID <[email protected]>
On 16/12/19 11:18 am, Mike Barnett wrote:
> There are no tkinter calls made from any thread other than the main thread.

It looks like some tkinter objects are becoming part of garbage
cycles, and getting collected by whatever thread happens to be
running when the cyclic gc kicks in.

Seems to me this is fundamentally tk's fault for assuming that
__del__ methods will be called from any particular thread.

As a workaround, maybe you could manually trigger a gc whenever
you dispose of a widget.

-- 
Greg