Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix: uninstall, idd (#13142)

fufesou3d8fc7ca7bfd
diff --git a/src/virtual_display_manager.rs b/src/virtual_display_manager.rs
index 41ef982d2..f0645e4bf 100644
--- a/src/virtual_display_manager.rs
+++ b/src/virtual_display_manager.rs
@@ -446,6 +446,8 @@ pub mod amyuni_idd {
if crate::platform::windows::is_x64() {
log::info!("Uninstalling driver by deviceinstaller64.exe");
install_if_x86_on_x64(&work_dir, "remove usbmmidd")?;
+ // Sleep some time to wait for the driver to be uninstalled.
+ std::thread::sleep(Duration::from_secs(2));
return Ok(());
}
}