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

bz18517: Don't failed_soft() if we notice the thread was already gone. #106

Merged
merged 1 commit into from Dec 2, 2011

Conversation

geoffl
Copy link
Contributor

@geoffl geoffl commented Nov 29, 2011

We could lose the race by the time we come here and as a result
self.thread is already None. If it is then it is harmless and so
just return.

I think this basically should do the trick with minimal invasive changes.

@@ -393,14 +393,29 @@ class SubprocessManager(object):
def _on_thread_quit(self, thread):
"""Handle our thread exiting."""

# Igoner this call if it was queued from while we were in the middle
# Igonre this call if it was queued from while we were in the middle
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closer! Should be "Ignore"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hah! I suck :)

@paulswartz
Copy link
Contributor

Other than that, looks good.

We could lose the race by the time we come here and as a result
self.thread is already None.  If it is then it is harmless and so
just return.
paulswartz added a commit that referenced this pull request Dec 2, 2011
bz18517: Don't failed_soft() if we notice the thread was already gone.
@paulswartz paulswartz merged commit 555258b into pculture:master Dec 2, 2011
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

2 participants