[Fix] Do it if not in shutting down
This commit is contained in:
parent
407bdce870
commit
5a5b36e8b4
@ -859,7 +859,7 @@ namespace WebSocketSharp.Server
|
||||
}
|
||||
}
|
||||
|
||||
if (_state == ServerState.Ready || _state == ServerState.Start)
|
||||
if (_state != ServerState.ShuttingDown)
|
||||
abort ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user