• Jonah Williams's avatar
    [flutter_tools] prevent StateError when log reader is disposed (#52173) · 37787982
    Jonah Williams authored
    Previously the AdbLogReader did async setup in the StreamController.onListen callback, specifically it would query the api version and start the adb process. If the log subscription was cancelled before this setup completed, then the log output could (haven't confirmed) get added to a closed controller, causing the above state error. 
    37787982
logs.dart 2.33 KB