diff --git a/vmm/src/device_manager.rs b/vmm/src/device_manager.rs index 883f0c040..1c272a5df 100644 --- a/vmm/src/device_manager.rs +++ b/vmm/src/device_manager.rs @@ -1177,7 +1177,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(