Skip to content

flutter run hangs if adb hangs #9567

@tvolkert

Description

@tvolkert

We've received a few reports of flutter run hanging, where it looks like the underlying cause is that adb has hung and is only fixed by unplugging and re-plugging the phone in via USB.

This shouldn't cause Flutter to hang and is doing so because we're using Process.runSync() instead of Process.run(), thus pausing the entire isolate until the process exits (which it never does).

This is one particular manifestation of #7102

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions