[Fix] Add a condition
This commit is contained in:
parent
fb56d7bbb1
commit
c7b1657ec7
@ -859,7 +859,7 @@ namespace WebSocketSharp.Server
|
||||
}
|
||||
}
|
||||
|
||||
if (_state == ServerState.Start)
|
||||
if (_state == ServerState.Ready || _state == ServerState.Start)
|
||||
abort ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user