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