forked from firka/flutter
It's possible that the tool can be in the process of shutting down, which could result in the temp directory being deleted after the shutdown hooks run before we check if `output` exists. If this happens, we shouldn't crash but just carry on as if no devices were found as the tool will exit on its own. Fixes https://github.com/flutter/flutter/issues/141892 --------- Co-authored-by: Andrew Kolos <andrewrkolos@gmail.com>