Multiple call stack main threads in VSCode when running debug
Asked Answered
S

1

9

I'm running an android emulator with Flutter in VSCode on Windows. When I run debug the call stack runs 2 main threads. Is this abnormal? I am getting emulator connections dropouts. With other (smaller) Flutter projects it doesn't run any threads.

enter image description here

Shantell answered 23/7, 2021 at 17:25 Comment(4)
Also getting this ... think it's causing issues with integration tests as well.Extremely
Hey, did you find the reason behind it?Punctilio
@Punctilio No i didn't unfortunatelyShantell
First one is useless as I see, but I can't terminate neither of them.Disject
N
2

Are you using any background service that initialize in your main like FirebaseMessagingService? that might be the cause.

An yes that is abnormal, it actually an open issue being discussed here https://github.com/firebase/flutterfire/issues/9964.

enter image description here

Naevus answered 29/5 at 3:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.