From 3fb3df128f138e3382c0593363fbd774e87cbd85 Mon Sep 17 00:00:00 2001 From: Ramon Eugster <100768960+reeman94@users.noreply.github.com> Date: Mon, 14 Jul 2025 15:18:04 +0200 Subject: [PATCH] fix: fix potential deadlock in PlcAdsConnectionService --- NET/Mbc.Pcs.Net/Connection/PlcAdsConnectionService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NET/Mbc.Pcs.Net/Connection/PlcAdsConnectionService.cs b/NET/Mbc.Pcs.Net/Connection/PlcAdsConnectionService.cs index 664380b..7e59eb1 100644 --- a/NET/Mbc.Pcs.Net/Connection/PlcAdsConnectionService.cs +++ b/NET/Mbc.Pcs.Net/Connection/PlcAdsConnectionService.cs @@ -94,8 +94,8 @@ protected virtual void OnConnectionStateChanged(object sender, PlcConnectionChan { _connected = e.Connected; _connection = e.Connection; - ConnectionStateChangedInternal?.Invoke(this, e); } + ConnectionStateChangedInternal?.Invoke(this, e); } } }