From d678924b6ee4d9f74f32329140b30df08d051492 Mon Sep 17 00:00:00 2001 From: Peter Butzhammer Date: Tue, 6 Feb 2024 18:21:31 +0100 Subject: [PATCH] Complete ConnectionState on dispose --- Sharp7.Rx/Sharp7Connector.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Sharp7.Rx/Sharp7Connector.cs b/Sharp7.Rx/Sharp7Connector.cs index 3063471..9b89375 100644 --- a/Sharp7.Rx/Sharp7Connector.cs +++ b/Sharp7.Rx/Sharp7Connector.cs @@ -153,6 +153,7 @@ namespace Sharp7.Rx sharp7 = null; } + connectionStateSubject?.OnCompleted(); connectionStateSubject?.Dispose(); }