Skip to content

Commit

Permalink
Fix SimpleThreadSafeSet to Remove with ExitWriteLock in finally
Browse files Browse the repository at this point in the history
  • Loading branch information
generik0 committed Nov 25, 2020
1 parent 43e4c6a commit bd02b36
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 @@ -61,7 +61,7 @@ public bool Remove(T item)
}
finally
{
@lock.EnterWriteLock();
@lock.ExitWriteLock();
}
}

Expand Down

0 comments on commit bd02b36

Please sign in to comment.