Skip to content

Commit c528afa

Browse files
authored
Merge c3faba0 into 43a34f7
2 parents 43a34f7 + c3faba0 commit c528afa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ydb/core/wrappers/s3_storage.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ class TS3ExternalStorage: public IExternalStorageOperator, TS3User {
6767
Y_DEFER {
6868
std::unique_lock guard(RunningQueriesMutex);
6969
--RunningQueriesCount;
70-
bool needNotify = (RunningQueriesCount == 0);
71-
guard.unlock();
72-
if (needNotify) {
70+
if (RunningQueriesCount == 0) {
7371
RunningQueriesNotifier.notify_all();
7472
}
7573
};

0 commit comments

Comments
 (0)