mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-24 12:14:25 +01:00
Address effect cancellation sendability (#3326)
* Address effect cancellation sendability * fix * wip * wip
This commit is contained in:
@@ -16,7 +16,7 @@ let storeSuite = BenchmarkSuite(name: "Store") { suite in
|
||||
}
|
||||
} tearDown: {
|
||||
precondition(count(of: store.withState { $0 }, level: level) == 1)
|
||||
_cancellationCancellables.removeAll()
|
||||
_cancellationCancellables.withValue { $0.removeAll() }
|
||||
}
|
||||
}
|
||||
for level in 1...levels {
|
||||
@@ -28,7 +28,7 @@ let storeSuite = BenchmarkSuite(name: "Store") { suite in
|
||||
}
|
||||
} tearDown: {
|
||||
precondition(count(of: store.withState { $0 }, level: level) == 0)
|
||||
_cancellationCancellables.removeAll()
|
||||
_cancellationCancellables.withValue { $0.removeAll() }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user