InvalidOperationException

Nov 25, 2010 at 6:21 PM

Hello!

I got exception after some refreshes of client.html within ConsoleApp.Server sample:

Unhandled Exception: System.InvalidOperationException: Collection was modified;enumeration operation may not execute.   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()   at System.Collections.Generic.List`1.Enumerator.MoveNext()   at Nugget.WebSocketServer.SendToAll(String message) in C:\Temp\Nugget\nugget-3889062adf12\nugget_3889062adf12\src\Nugget\WebSocketServer.cs:line 136