-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Isolates run into main thread #145
Comments
Not sure what's going on here, will investigate when I get a chance. |
@lethanhclub or @nmfisher Any update on this? I'm facing the same issue. |
@Akhil-Sai-Prasad what do you mean by "main thread", how are you determining which thread the isolate is running on? There's no way (currently) to pin an isolate to a specific thread so I suppose it is possible for an isolate to run on the Flutter UI thread. |
@nmfisher Previously, I assumed that everything was running on the main thread based on the call stack. However, I now realise that my assumption was incorrect. Thanks for the clarification! |
I created some isolates by FlutterIsolate.spawn or flutterCompute, but all isolates were running into main thread. Also, This is only happened in android, iOS fine
Does anyone know why?
The text was updated successfully, but these errors were encountered: