You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the HttpServer in a plugin than can be dynamically loaded and unloaded. When unloading the WebServer plugin, I get sometimes an unhandled SemaphoreFullException.
I had to modify the code in the following class:
Griffin.Net.Channels.TcpChannel in method OnSendCompleted()
Needs an other solution. The following code does not terminate the thread and leads to other problems.
The easiest solution is to disable the exception for Griffin.Core assembly.
I use the HttpServer in a plugin than can be dynamically loaded and unloaded. When unloading the WebServer plugin, I get sometimes an unhandled SemaphoreFullException.
I had to modify the code in the following class:
Griffin.Net.Channels.TcpChannel in method OnSendCompleted()
catch (Exception ex)
{
try { _sendLock.Release(); }
catch(SemaphoreFullException)
{ }
OnChannelFailure(ex);
}
Thank you for adding this changes in the next nuget release :-)
The text was updated successfully, but these errors were encountered: