addition to last commit: this refers to #2396

This commit is contained in:
Philipp Crocoll
2023-11-21 13:33:37 +01:00
parent 6ef8b8fc3b
commit ad6ced3aad

View File

@@ -205,8 +205,7 @@ namespace KeePassLib.Serialization
if(lfiEx != null)
{
m_iocLockFile = null; // Otherwise Dispose deletes the existing one
throw new FileLockException(UrlUtil.GetFileName(iocBaseFile.Path),
lfiEx.GetOwner());
throw new FileLockException(UrlUtil.GetFileName(iocBaseFile.Path), lfiEx.GetOwner());
}
LockFileInfo.Create(m_iocLockFile);