Skip to content

Commit

Permalink
fix for issue #33: reset should also release any locks (#37)
Browse files Browse the repository at this point in the history
Co-authored-by: Barry Lagerweij <[email protected]>
  • Loading branch information
blagerweij and blagerweij authored Sep 5, 2023
1 parent fa06b21 commit 8ea0d95
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,13 @@ public void forceReleaseLock() throws LockException {

@Override
public void reset() {
hasChangeLogLock = false;
try {
if (hasChangeLogLock) {
forceReleaseLock();
}
} catch (LockException e) {
getLog(getClass()).debug("Could not reset lock, ignoring", e);
}
}

@Override
Expand Down

0 comments on commit 8ea0d95

Please sign in to comment.