Skip to content

Commit

Permalink
Fix IncrementRequestedWriteLock
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolajlauridsen committed Mar 9, 2021
1 parent b554aa9 commit adf504c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Umbraco.Core/Scoping/Scope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -602,11 +602,11 @@ private void IncrementRequestedWriteLock(params int[] lockIds)
{
if (WriteLocks.ContainsKey(lockId))
{
WriteLocks[lockId] = 1;
WriteLocks[lockId] += 1;
}
else
{
WriteLocks[lockId] += 1;
WriteLocks[lockId] = 1;
}
}
}
Expand Down

0 comments on commit adf504c

Please sign in to comment.