mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-17 23:57:03 +01:00
Convert collection into a new list before enumerating (#331)
This commit is contained in:
@@ -39,7 +39,7 @@ namespace WireMock.Server
|
||||
{
|
||||
var results = new Dictionary<LogEntry, RequestMatchResult>();
|
||||
|
||||
foreach (var log in _options.LogEntries)
|
||||
foreach (var log in _options.LogEntries.ToList())
|
||||
{
|
||||
var requestMatchResult = new RequestMatchResult();
|
||||
foreach (var matcher in matchers)
|
||||
|
||||
Reference in New Issue
Block a user