send nop after updating variables (fix race condition?)
This commit is contained in:
parent
af7f7dc810
commit
2ab077ae6a
|
@ -488,11 +488,11 @@ public class User
|
||||||
{
|
{
|
||||||
if (!timeOut)
|
if (!timeOut)
|
||||||
{
|
{
|
||||||
await SendAsync("3.nop;");
|
|
||||||
timeOut = true;
|
timeOut = true;
|
||||||
timeoutTimer.Stop();
|
timeoutTimer.Stop();
|
||||||
timeoutTimer.Interval = 3000;
|
timeoutTimer.Interval = 3000;
|
||||||
timeoutTimer.Start();
|
timeoutTimer.Start();
|
||||||
|
await SendAsync("3.nop;");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue