[Modify] Do not throw
This commit is contained in:
parent
157cb4a3bc
commit
7e7ae7b0a4
@ -720,10 +720,8 @@ namespace WebSocketSharp.Net
|
||||
}
|
||||
|
||||
internal set {
|
||||
if (value < 0 || value > 1) {
|
||||
var msg = "It is not allowed.";
|
||||
throw new ArgumentOutOfRangeException ("value", msg);
|
||||
}
|
||||
if (value < 0 || value > 1)
|
||||
return;
|
||||
|
||||
_version = value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user