Skip to content

Comments

fix race condition in BackendSessionPool.close()#330

Merged
zhoney merged 1 commit intomasterfrom
close-session-race-cond
Jan 14, 2019
Merged

fix race condition in BackendSessionPool.close()#330
zhoney merged 1 commit intomasterfrom
close-session-race-cond

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