[issue43050] threading timer memory leak

Martin Panter report at bugs.python.org
Wed Jan 27 21:56:08 EST 2021


Martin Panter <vadmium+py at gmail.com> added the comment:

Perhaps this is caused by Issue 37788. Python 3.7.4 introduced a leak for any thread that doesn't get its "join" method called. Timer is a subclass of Thread, so to confirm, see if calling "timer.join()" after "cancel" will make the leak go away.

----------
nosy: +martin.panter
resolution:  -> duplicate
superseder:  -> fix for bpo-36402 (threading._shutdown() race condition) causes reference leak
type: performance -> resource usage

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43050>
_______________________________________


More information about the Python-bugs-list mailing list