[Modify] Add a check

This commit is contained in:
sta 2016-04-01 11:30:07 +09:00
parent e8fc325e63
commit b76349936b

View File

@ -683,7 +683,11 @@ namespace WebSocketSharp.Net
if (_disposed)
return;
if (_listening) {
_listening = false;
close (false);
}
_disposed = true;
}