attempt to fix NOP timer bug
This commit is contained in:
parent
91d058d3f4
commit
d428667d6a
1 changed files with 3 additions and 0 deletions
|
@ -97,6 +97,7 @@ public class User
|
|||
}
|
||||
this.timeOut = false;
|
||||
this.timeoutTimer.Stop();
|
||||
this.timeoutTimer.Interval = 3000;
|
||||
this.timeoutTimer.Start();
|
||||
switch (msgArr[0])
|
||||
{
|
||||
|
@ -489,6 +490,8 @@ public class User
|
|||
{
|
||||
await SendAsync("3.nop;");
|
||||
timeOut = true;
|
||||
timeoutTimer.Stop();
|
||||
timeoutTimer.Interval = 3000;
|
||||
timeoutTimer.Start();
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue