always use at-least 5 isolates

This commit is contained in:
shenlong-tanwen 2025-10-01 04:15:47 +05:30
parent e9616a3fbc
commit 425eb2c66e
4 changed files with 12 additions and 9 deletions

View file

@ -32,7 +32,7 @@ Cancelable<T?> runInIsolateGentle<T>({
throw const InvalidIsolateUsageException();
}
return workerManagerForIos.executeGentle((cancelledChecker) async {
return workerManagerPatch.executeGentle((cancelledChecker) async {
T? result;
await runZonedGuarded(
() async {