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 deadlock when exiting withFluentLogger block #4

Merged
merged 3 commits into from Apr 5, 2015

Conversation

debug-ito
Copy link
Contributor

The process fell into strange deadlock when it entered and immediately tried to exit withFluentLogger block. I think this is because the sender thread is spawned with its asynchronous exception masked, so it refuses to accept ThreadKilled exception.

This patch makes sure the sender thread is spawned unmasked. That solved the problem.

notogawa added a commit that referenced this pull request Apr 5, 2015
Fix deadlock when exiting withFluentLogger block
@notogawa notogawa merged commit 8dccbac into notogawa:master Apr 5, 2015
@notogawa
Copy link
Owner

notogawa commented Apr 5, 2015

Thanks !

@debug-ito debug-ito deleted the fix_close_deadlock branch April 10, 2015 01:06
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