mirror of
https://github.com/evopro-ag/Sharp7Reactive.git
synced 2025-12-16 19:52:53 +00:00
Complete Notifications when Plc is disposed
This commit is contained in:
@@ -85,7 +85,8 @@ namespace Sharp7.Rx.Basics
|
||||
return;
|
||||
if (disposing && dictionary != null)
|
||||
{
|
||||
dictionary.Values.DisposeItems();
|
||||
foreach (var subjectWithRefCounter in dictionary)
|
||||
subjectWithRefCounter.Value.Subject.OnCompleted();
|
||||
dictionary.Clear();
|
||||
dictionary = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user