Skip to content

Commit

Permalink
Fix SimpleThreadSafeSet incorrect Exit of lock
Browse files Browse the repository at this point in the history
  • Loading branch information
generik0 committed Nov 25, 2020
1 parent 003f313 commit b9b2ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Castle.Windsor/Core/Internal/SimpleThreadSafeSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public bool Add(T item)
}
finally
{
@lock.EnterWriteLock();
@lock.ExitWriteLock();
}
}

Expand Down

0 comments on commit b9b2ea3

Please sign in to comment.