Skip to content

Move check for previous value of "closed" outside of lambda #1058

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

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

jyemin
Copy link
Collaborator

@jyemin jyemin commented Nov 30, 2022

@jyemin jyemin self-assigned this Nov 30, 2022
@jyemin jyemin requested review from katcharov and rozza November 30, 2022 14:58
@lem21h
Copy link

lem21h commented Dec 3, 2022

Wouldn't it be simpler to use AtomicBolean?

Copy link
Member

@rozza rozza left a comment

Choose a reason for hiding this comment

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

LGTM

@jyemin jyemin merged commit 41b9ce3 into mongodb:master Dec 5, 2022
@jyemin jyemin deleted the j4821 branch December 5, 2022 12:52
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