Griffin.WebServer
Griffin.WebServer copied to clipboard
Exception when stopping WebServer
When you stop an instance of HttpServer an exception is thrown on another thread:
Message: An unhandled exception of type 'System.ObjectDisposedException' occurred in System.dll
Additional information: Cannot access a disposed object.
Griffin.Core.dll!Griffin.Net.ChannelTcpListener.OnAcceptSocket(System.IAsyncResult ar) Line 213 C#
Are you using the version from nuget, or a version compiled from the latest version of this repo?
I am using Version 0.5.1.0 from NuGet.
Try building the latest version from the repo (building Griffin.Framework too). One of the fixes I wrote a while ago should fix this problem as well.