fix(drivers): #630 re-review - S7 warns on gate-wait timeout; AbCip publishes fresh tag tables by reference swap
Claude-Session: https://claude.ai/code/session_01Ef2ozxS7QPanGT8uoATbTe
This commit is contained in:
@@ -400,6 +400,10 @@ public sealed class S7Driver
|
||||
// teardown, in which case we proceed exactly as the un-gated path always did.
|
||||
var gated = false;
|
||||
try { gated = await _gate.WaitAsync(DrainTimeout).ConfigureAwait(false); } catch { }
|
||||
if (!gated)
|
||||
_logger.LogWarning(
|
||||
"S7 driver {DriverInstanceId}: disposing the S7 connection while an operation still holds the gate (waited {Timeout})",
|
||||
_driverInstanceId, DrainTimeout);
|
||||
try
|
||||
{
|
||||
_initialized = false;
|
||||
|
||||
Reference in New Issue
Block a user