Reproduction steps:
- Create a new project
- Make an Android APK using Build & Run button
- Quit Unity Editor which leaves adb.exe open in the background
- Uninstall Unity Editor from Unity-Hub
Expected result: The Editor is successfully uninstalled
Actual result: The Hub is stuck forever trying to uninstall the Editor
Reproducible with: 2020.3.37f1, 2021.3.7f1, 2022.1.13f1
Not reproducible with: 2022.2.0a1, 2022.2.0b3, 2023.1.0a4
Note:
- If adb.exe is not open after quitting Unity, just force quit Unity after build to simulate a crash.