[issue37389] Memory Leak - ThreadingUDPServer

Daniel W Forsyth report at bugs.python.org
Mon Jun 24 10:59:58 EDT 2019


Daniel W Forsyth <danf at dataforge.on.ca> added the comment:

The only way I could figure out to control it was to do this in a thread;

        for thread in server._threads:  # type: Thread
            if not thread.is_alive():
                server._threads.remove(thread)

Shouldn't the server process do this when the thread is done?

----------

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


More information about the Python-bugs-list mailing list