Skip to content

Commit f008919

Browse files
committed
[stdlib] Make expected actor isolation checking crash by default
Only affects projects compiled with `-enable-actor-data-race-checks` flag.
1 parent b98d7a5 commit f008919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/Actor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ static bool swift_task_isCurrentExecutorImpl(SerialExecutorRef executor) {
353353
/// 0 - no logging
354354
/// 1 - warn on each instance
355355
/// 2 - fatal error
356-
static unsigned unexpectedExecutorLogLevel = 1;
356+
static unsigned unexpectedExecutorLogLevel = 2;
357357

358358
static void checkUnexpectedExecutorLogLevel(void *context) {
359359
#if SWIFT_STDLIB_HAS_ENVIRON

0 commit comments

Comments
 (0)