Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix (another) thread leak in ThrottleExecutor #103

Closed
wants to merge 1 commit into from

Conversation

rohanpm
Copy link
Owner

@rohanpm rohanpm commented Jan 6, 2019

The thread's main loop did "del executor" before waiting on the event,
but it could still hold a reference to the executor from 'to_submit'
or 'job'.

Fixes #93

@rohanpm
Copy link
Owner Author

rohanpm commented Jan 6, 2019

bors r+

@rohanpm rohanpm closed this Jan 6, 2019
bors bot added a commit that referenced this pull request Jan 6, 2019
103: Fix (another) thread leak in ThrottleExecutor r=rohanpm a=rohanpm

The thread's main loop did "del executor" before waiting on the event,
but it could still hold a reference to the executor from 'to_submit'
or 'job'.

Fixes #93

Co-authored-by: Rohan McGovern <rohan@mcgovern.id.au>
@bors
Copy link
Contributor

bors bot commented Jan 6, 2019

@rohanpm rohanpm deleted the docs-expand-shutdown branch January 6, 2019 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant