• Jonah Williams's avatar
    [flutter_tools] ensure flutter daemon can exit correctly when app fails to start (#60615) · 21881961
    Jonah Williams authored
    The flutter daemon unconditionally waits for the appFinished signal, even if startup failed. Ensure this future is correctly completed if there is a failure in ResidentRunner.run and not just ResidentRunner.attach. Adds regression tests for run release, debug, debug web, and release web. Adds missing try catch in cold runner startup.
    
    Manually tested with release/debug on Android and release/debug on web.
    
    Fixes #60613
    21881961
run_hot.dart 45.8 KB