Skip to content

Commit ac9b5b7

Browse files
committed
wip
1 parent 970fbc0 commit ac9b5b7

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

Sources/ComposableArchitecture/TestStore.swift

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -646,17 +646,10 @@ public final class TestStore<State: Equatable, Action> {
646646
self.assertNoSharedChanges(fileID: fileID, filePath: filePath, line: line, column: column)
647647
}
648648

649-
#if compiler(>=6.2)
650-
isolated deinit {
651-
uncheckedUseMainSerialExecutor = originalUseMainSerialExecutor
652-
completed()
653-
}
654-
#else
655-
deinit {
656-
uncheckedUseMainSerialExecutor = self.originalUseMainSerialExecutor
657-
mainActorNow { self.completed() }
658-
}
659-
#endif
649+
deinit {
650+
uncheckedUseMainSerialExecutor = self.originalUseMainSerialExecutor
651+
mainActorNow { self.completed() }
652+
}
660653

661654
func completed() {
662655
self.assertNoReceivedActions(

0 commit comments

Comments
 (0)