diff --git a/src/mounter/gvfs.rs b/src/mounter/gvfs.rs index 8155b8a..9bbbd19 100644 --- a/src/mounter/gvfs.rs +++ b/src/mounter/gvfs.rs @@ -418,12 +418,10 @@ impl Gvfs { continue; } - //TODO: do eject instead of unmount? log::info!("unmount {}", name); - MountExt::unmount_with_operation( + MountExt::eject_with_operation( &mount, gio::MountUnmountFlags::NONE, - //TODO: gio::MountOperation needed for network shares with auth gio::MountOperation::NONE, gio::Cancellable::NONE, move |result| {