Merge pull request #6208 from fufesou/fix/prompt_driver_cert_on_disconn
fix, prompt, driver cert , on disconnecting
This commit is contained in:
commit
f748395bda
@ -140,9 +140,9 @@ pub fn plug_in_index_modes(
|
|||||||
|
|
||||||
pub fn reset_all() -> ResultType<()> {
|
pub fn reset_all() -> ResultType<()> {
|
||||||
let mut manager = VIRTUAL_DISPLAY_MANAGER.lock().unwrap();
|
let mut manager = VIRTUAL_DISPLAY_MANAGER.lock().unwrap();
|
||||||
manager.install_update_driver()?;
|
if !manager.peer_index_name.is_empty() || manager.headless_index_name.is_some() {
|
||||||
manager.peer_index_name.clear();
|
manager.install_update_driver()?;
|
||||||
manager.headless_index_name = None;
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user