debug virtual display with dummy one

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-06-05 08:36:32 -07:00
parent 42e8971793
commit 205798b611
2 changed files with 9 additions and 6 deletions

View File

@@ -639,6 +639,10 @@ impl Connection {
if active_conns_lock.is_empty() {
video_service::reset_resolutions();
}
#[cfg(all(windows, feature = "virtual_display_driver"))]
if active_conns_lock.is_empty() {
video_service::try_plug_out_virtual_display();
}
log::info!("#{} connection loop exited", id);
}