mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-20 10:50:48 +08:00
build: 10.8.24
fix: 变量离线后再次上线,如果值不变,会导致在线状态不刷新 fix: s7离线恢复时,可能触发多次协议握手导致异常
This commit is contained in:
@@ -404,7 +404,7 @@ public abstract class DeviceBase : DisposableObject, IDevice
|
||||
}
|
||||
finally
|
||||
{
|
||||
await Task.Delay(500, token).ConfigureAwait(false);
|
||||
try { await Task.Delay(500, token).ConfigureAwait(false); } catch { }
|
||||
connectWaitLock.Release();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user