mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
fix: display the reason when the linker can't be called and fix the root cause
This commit is contained in:
@@ -263,6 +263,7 @@ KeySetCache::loadOrGenerateSave(ClientParameters ¶ms, uint64_t seed_msb,
|
||||
// The lock is released when the function returns.
|
||||
// => any intermediate state in the function is not visible to others.
|
||||
auto unlockAtReturn = llvm::make_scope_exit([&]() {
|
||||
llvm::sys::fs::closeFile(FD_lock);
|
||||
llvm::sys::fs::unlockFile(FD_lock);
|
||||
llvm::sys::fs::remove(lockPath);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user