__del__ not implicitly called on object when its last reference gets deleted
__del__ not implicitly called on object when its last reference gets deleted Question: I have a class that starts a thread in its __init__ member and I would like join that thread when the instance of that class is not needed anymore, so I implemented that clean-up code in __del__. It turns out that the …