mirror of
https://github.com/evopro-ag/Sharp7Reactive.git
synced 2025-12-15 11:22:52 +00:00
Add connectionState.Disposed
This commit is contained in:
@@ -5,5 +5,6 @@ public enum ConnectionState
|
||||
Initial,
|
||||
Connected,
|
||||
DisconnectedByUser,
|
||||
ConnectionLost
|
||||
ConnectionLost,
|
||||
Disposed
|
||||
}
|
||||
|
||||
@@ -206,6 +206,7 @@ internal class Sharp7Connector : IS7Connector
|
||||
sharp7 = null;
|
||||
}
|
||||
|
||||
connectionStateSubject?.OnNext(Enums.ConnectionState.Disposed);
|
||||
connectionStateSubject?.OnCompleted();
|
||||
connectionStateSubject?.Dispose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user