[Fix] Do it if not in shutting down

This commit is contained in:
sta 2017-02-13 15:39:09 +09:00
parent 407bdce870
commit 5a5b36e8b4

View File

@ -859,7 +859,7 @@ namespace WebSocketSharp.Server
}
}
if (_state == ServerState.Ready || _state == ServerState.Start)
if (_state != ServerState.ShuttingDown)
abort ();
}