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

Properly destroying the objects that contain daemonized threads #324

Merged
merged 1 commit into from Mar 3, 2015

Conversation

chmduquesne
Copy link
Contributor

Consumer, Producer and ReentrantTimer all create daemonized threads. Problem: when destroying these objects, the daemonized threads are not destroyed and the threads live forever with no mean to reach them.

This created issue #323, which I could deal with by using stop() manually, but there is no reason to force the user to force the user to do that when it could be dealt with automatically.

This pull request fixes this.

@dpkp
Copy link
Owner

dpkp commented Mar 2, 2015

can you submit pep8 fixes / ae0017c separately?

@chmduquesne
Copy link
Contributor Author

chmduquesne commented Mar 2, 2015 via email

@chmduquesne chmduquesne force-pushed the master branch 5 times, most recently from e797f62 to 45b9797 Compare March 2, 2015 22:25
@chmduquesne
Copy link
Contributor Author

I have removed the pep8 fix, and rebased my patch onto master, so that this can be merged with a fast forward.

Travis reports an error on this pull request, but I don't understand why: on my clone, it does not complain. Can you relaunch the incriminated build?

@dpkp
Copy link
Owner

dpkp commented Mar 3, 2015

not sure what is going on w/ tests -- test_batched_simple_producer__triggers_by_message may need some investigation separately. failures look unrelated to this PR.

dpkp added a commit that referenced this pull request Mar 3, 2015
Properly destroying the objects that contain daemonized threads
@dpkp dpkp merged commit e13eb0d into dpkp:master Mar 3, 2015
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