Skip to content

Devices don't show up if daemon prints lock message #2582

Closed

Description

@DanTup

Need a fix similar to flutter/flutter-intellij#4633. In flutter/flutter#57590 Flutter started using \r without \n and we fail to treat it as a newline. This means if the daemon starts up and gets "Waiting for another Flutter process to release the lock" the next line (usually the daemon.connected event) isn't handled correctly, and therefore we never enabled device scanning.

To repro:

  • Delete flutter_tools.snapshot
  • Run flutter doctor in a terminal
  • While doctor is running, open a Flutter project
  • Note status bar always says "No Device" even after the daemon starts up

Activity

  1. added this to the v3.12.0 milestone on Jun 24, 2020
  2. added 2 commits that reference this issue on Jun 24, 2020
    cc3c0d9
    9f4539c
  3. added a commit that references this issue on Jun 24, 2020
    d0649a3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions