remove warn
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
84ab9ba48e
commit
6b84106aff
@ -274,7 +274,7 @@ fn create_capturer(
|
||||
fn ensure_close_virtual_device() -> ResultType<()> {
|
||||
let num_displays = Display::all()?.len();
|
||||
if num_displays > 1 {
|
||||
virtual_display_manager::plug_out_headless();
|
||||
let _res = virtual_display_manager::plug_out_headless();
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user