Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
appFs - umount mountPoint before directory status checking to prevent…
… access failure If tryToUnmountOnStart is true, code now attempts to unmount the specified mount point. This is necessary because if the application terminates unexpectedly, the filesystem might remain mounted, which can prevent proper status checking and cause subsequent attempts to mount it to fail. By forcing an unmount here, we ensure the mount point is in a clean state before proceeding. If the unmount fails, an exception is thrown to indicate that the cleanup process was unsuccessful.
- Loading branch information