Can an object be garbage collected if one of its members is a running thread?
I have a custom thread subclass that calls repeatedly a method on a “bound” object. The goal is to automatically join this thread whenever the “bound” object gets GC’ed:
Python: can an object be garbage collected if one of its members is a running thread?
I have a custom thread subclass that calls repeatedly a method on a “bound” object. The goal is to automatically join this thread whenever the “bound” object gets GC’ed: