debug virtual display with dummy one

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2023-06-05 23:41:45 +08:00
1 parent 42e8971793
commit 205798b611
2 files changed
+9 -6

No files matched your search

+4
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);
}