forked from Mirrors/minio
upon errors to acquire lock context would still leak, since the cancel would never be called. since the lock is never acquired - proactively clear it before returning.
8.7 KiB
8.7 KiB