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
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
https://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to