Skip to content

Commit c1b809c

Browse files
authored
Merge fc2dd27 into 994b7a3
2 parents 994b7a3 + fc2dd27 commit c1b809c

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)