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 race condition in BackendSessionPool.close() #330

Merged
merged 1 commit into from
Jan 14, 2019

Conversation

javeme
Copy link
Contributor

@javeme javeme commented Jan 9, 2019

The following code: if (this.sessionCount.get() == 0)
may cause multiple threads to call doClose() at the same time

Change-Id: Ib4eb69533a2da7e4b05a52df75c31557bb592636

The following code: "if (this.sessionCount.get() == 0)"
may cause multiple threads to call doClose() at the same time

Change-Id: Ib4eb69533a2da7e4b05a52df75c31557bb592636
@zhoney zhoney merged commit efe3676 into master Jan 14, 2019
@zhoney zhoney deleted the close-session-race-cond branch January 14, 2019 07:51
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.

3 participants