diff --git a/vmm/src/device_manager.rs b/vmm/src/device_manager.rs index f0a3bbea0..70a06217e 100644 --- a/vmm/src/device_manager.rs +++ b/vmm/src/device_manager.rs @@ -1231,7 +1231,7 @@ impl DeviceManager { } pub fn console_resize_pipe(&self) -> Option> { - self.console_resize_pipe.as_ref().map(Arc::clone) + self.console_resize_pipe.clone() } pub fn create_devices(