[Modify] Replace it
This commit is contained in:
parent
18597a35c1
commit
12e7fb1498
@ -593,10 +593,10 @@ namespace WebSocketSharp
|
|||||||
|
|
||||||
set {
|
set {
|
||||||
lock (_forConn) {
|
lock (_forConn) {
|
||||||
var msg = checkIfAvailable (true, true, true, false, false, true) ??
|
string msg;
|
||||||
value.CheckIfValidWaitTime ();
|
if (!checkIfAvailable (true, true, true, false, false, true, out msg)
|
||||||
|
|| !value.CheckWaitTime (out msg)
|
||||||
if (msg != null) {
|
) {
|
||||||
_logger.Error (msg);
|
_logger.Error (msg);
|
||||||
error ("An error has occurred in setting the wait time.", null);
|
error ("An error has occurred in setting the wait time.", null);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user