mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* gracefully handle a Situation where a double close is called on the WebSocket handler
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user