We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec4deaf commit 4c92890Copy full SHA for 4c92890
stdlib/public/Concurrency/TaskPrivate.h
@@ -527,7 +527,6 @@ class alignas(2 * sizeof(void*)) ActiveTaskStatus {
527
assert(!dispatch_lock_is_locked(ExecutionLock));
528
return ActiveTaskStatus(Record, Flags, dispatch_lock_value_for_self());
529
} else {
530
- assert(dispatch_lock_is_locked_by_self(ExecutionLock));
531
return ActiveTaskStatus(Record, Flags, ExecutionLock & ~DLOCK_OWNER_MASK);
532
}
533
#else
0 commit comments