* gracefully handle a Situation where a double close is called on the WebSocket handler
parent
13d4f6f747
commit
c22276a169
|
@ -535,6 +535,8 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
/// <param name="message"></param>
|
||||
public void Close(string message)
|
||||
{
|
||||
if (_networkContext == null)
|
||||
return;
|
||||
if (_networkContext.Stream != null)
|
||||
{
|
||||
if (_networkContext.Stream.CanWrite)
|
||||
|
|
Loading…
Reference in New Issue