DanTup · GitHub

@DanTup DanTup added is enhancement

An enhancement or improvement that should be listed in release notes but is not a bug fix.

in flutter

Relates to running Flutter apps

labels

Mar 2, 2026

@DanTup

…ce.enable has completed
I noticed in the logs that we can call functions before `device.enable` completes. It's a long shot, but I wonder if it might be what leads to the timeouts in #5793. We've had issues in the past where sending requests too early would cause issues, which lead to the `daemonStarted` promise, however it only awaited for _any_ output message and not for `device.enable` to complete.
This adds a new completer for `device.enable` completing, and then an additional 2s delay. If the timeouts reduce with this change, it might help narrow down the ultimate cause in the `flutter` tool.

@DanTup

@DanTup

@DanTup

DanTup deleted the add-daemon-startup-delay branch

March 2, 2026 12:31

@DanTup

gemini-code-assist[bot]

chatgpt-codex-connector[bot]

DanTup added a commit that referenced this pull request

Mar 2, 2026
Some tweaks from review on #5948 from after it merged.

Open

Read the original on github.com ↗