Skip to content

Commit

Permalink
[Fix][Connector-Mongodb] close MongodbClient when close MongodbReader (
Browse files Browse the repository at this point in the history
…apache#8592)

Co-authored-by: binwang219962 <[email protected]>
  • Loading branch information
sohurdc and binwang219962 authored Jan 27, 2025
1 parent a3513eb commit 06b2fc0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ public void close() {
if (cursor != null) {
cursor.close();
}
if (clientProvider != null) {
clientProvider.close();
}
}

@Override
Expand Down

0 comments on commit 06b2fc0

Please sign in to comment.