Help with garbage collection of tasks

48 views
Skip to first unread message

Mark Harviston

unread,
Jul 24, 2015, 2:35:29 PM7/24/15
to python-tulip
I'm having lots of trouble with this bug, and I need some help with it. https://github.com/harvimt/quamash/issues/34

The short version is that the __del__ on Task isn't being run, probably because I'm keeping them alive too long.

Task._step seem to be keeping a reference to the Task, and that's causing problems.

I've tried using gc.get_referrers and stuff, but I've not been able to make very much progress.
Reply all
Reply to author
Forward
0 new messages