fuser icon indicating copy to clipboard operation
fuser copied to clipboard

skip umount if session has been destroyed

Open dojiong opened this issue 5 months ago • 0 comments

when the mountpoint is unmounted in other ways (like $ umount <mountpoint>), fuser will got this message

WARN fuser::mnt::fuse2(fuse2.rs:66) - umount failed with Os { code: 22, kind: InvalidInput, message: "Invalid argument" }

the reason is that the Mount::drop call umount directly regardless the mountpoint is unmounted.


this pr introduced a shared var to ignore umount when Session is destroyed.

dojiong avatar Sep 05 '24 09:09 dojiong