Skip to content

[3.7] bpo-37788: Fix a reference leak if a thread is not joined (GH-15228)#15336

Closed
miss-islington wants to merge 1 commit intopython:3.7from
miss-islington:backport-d3dcc92-3.7
Closed

[3.7] bpo-37788: Fix a reference leak if a thread is not joined (GH-15228)#15336
miss-islington wants to merge 1 commit intopython:3.7from
miss-islington:backport-d3dcc92-3.7

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Aug 19, 2019

Add threading.Thread.del() method to ensure that the thread state
lock is removed from the _shutdown_locks list when a thread
completes.
(cherry picked from commit d3dcc92)

Co-authored-by: Victor Stinner [email protected]

https://bugs.python.org/issue37788

…5228)

Add threading.Thread.__del__() method to ensure that the thread state
lock is removed from the _shutdown_locks list when a thread
completes.
(cherry picked from commit d3dcc92)

Co-authored-by: Victor Stinner <[email protected]>
@miss-islington
Copy link
Copy Markdown
Contributor Author

@vstinner: Status check is done, and it's a failure ❌ .

@vstinner
Copy link
Copy Markdown
Member

The change is wrong: I reject the backport.

@vstinner vstinner closed this Aug 19, 2019
@miss-islington miss-islington deleted the backport-d3dcc92-3.7 branch August 19, 2019 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants