Skip to content

Conversation

stIncMale
Copy link
Member

@stIncMale stIncMale requested a review from vbabanin December 4, 2024 01:26
@stIncMale stIncMale self-assigned this Dec 4, 2024
boolean[] shouldReturn = {false};
Timeout.onExistsAndExpired(operationContext.getTimeoutContext().timeoutIncludingRoundTrip(), () -> {
callback.onResult(null, createMongoOperationTimeoutExceptionAndClose(commandEventSender));
bsonOutput.close();
Copy link
Member Author

Choose a reason for hiding this comment

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

This is another bug we had - we were not closing bsonOutput in this situation.

Copy link
Member

@vbabanin vbabanin left a comment

Choose a reason for hiding this comment

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

Thank you for fixing this! LGTM!

@stIncMale stIncMale merged commit 7f368dd into mongodb:main Dec 10, 2024
60 checks passed
@stIncMale stIncMale deleted the JAVA-5715 branch December 10, 2024 17:40
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.

2 participants