Skip to content

Commit

Permalink
Dispose keyEnumerator
Browse files Browse the repository at this point in the history
  • Loading branch information
Henr1k80 authored and stakx committed Oct 19, 2024
1 parent f372c2c commit 28b8715
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Castle.Core/Core/StringObjectDictionaryAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ KeyValuePair<string, object> IEnumerator<KeyValuePair<string, object>>.Current

public void Dispose()
{
keyEnumerator.Dispose();
GC.SuppressFinalize(this);
}
}
Expand Down

0 comments on commit 28b8715

Please sign in to comment.