diff options
author | 2016-07-11 10:38:39 -0700 | |
---|---|---|
committer | 2016-07-11 10:38:39 -0700 | |
commit | 136ea365e37b611f6b3f7ab94f221737ad3e1cc6 (patch) | |
tree | 5a62352facb5a6523f6d03e8aa1080bb038e2107 /tools | |
parent | c1bfe124ab0d151f7619f4fefc08244bd1dd4750 (diff) |
Hold onto the GIL in __dealloc__ functions
When a child thread triggers __dealloc__ as part of a thread being
joined, the thread is already considered to be "joined", and so
releasing the GIL can allow the main thread to proceed to exit,
which introduces shutdown race conditions/memory leaks.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions