Skip to content

Commit dda1dca

Browse files
committed
[C++ SDK] Fixed bad cred provider destroying (#26582)
1 parent 9b47bb4 commit dda1dca

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/last_commit.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4c550f72db64962251932dab343839815916c555
1+
8ecf0017d5b19918f37de892f536e8cb83216309

include/ydb-cpp-sdk/client/iam/common/generic_provider.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ class TGrpcIamCredentialsProvider : public ICredentialsProvider {
127127
}
128128
NeedStop_ = true;
129129
}
130+
Stub_.reset();
131+
Channel_.reset();
130132
}
131133

132134
private:

0 commit comments

Comments
 (0)