Skip to content
Snippets Groups Projects
Commit ca4f2e71 authored by Joao Afonso's avatar Joao Afonso
Browse files

Resolve "Fix "trying to unlock an unlocked lock" error"

parent 521c0f30
Branches
Tags
No related merge requests found
# v4.NEXT
### Bug Fixes
- cta/CTA#460 - Fix "trying to unlock an unlocked lock" error
- cta/CTA#461 - Allow setting the repack VO if there is none with ongoing repacks
- cta/CTA#469 - Fix command 'cta-admin drive ls' not showing REPACK VO on mounts of type ARCHIVE_FOR_REPACK
- cta/CTA#472 - Fix repack VO exceeding the readmaxdrives limit
......
......@@ -95,9 +95,6 @@ namespace {
C typedObject(*gop);
lock.transfer(typedObject);
typedObject.garbageCollect(presumedOwner, agentReference, lc, catalogue);
// Release the lock now as if we let the caller do, it will point
// to the then-removed typedObject.
lock.release();
}
}
......@@ -155,8 +152,6 @@ namespace {
C typedObject(*gop);
ScopedLock::transfer(*gop, typedObject);
std::string ret = typedObject.dump();
// Release the lock now as if we let the caller do, it will point
// to the then-removed typedObject.
return ret;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment