This commit is contained in:
Peter Butzhammer
2024-02-07 09:35:21 +01:00
parent c79e07be33
commit babbb1a6bc
20 changed files with 372 additions and 374 deletions

View File

@@ -4,7 +4,6 @@ using System.Collections.Generic;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using Sharp7.Rx.Extensions;
namespace Sharp7.Rx.Basics
{
@@ -85,7 +84,7 @@ namespace Sharp7.Rx.Basics
return;
if (disposing && dictionary != null)
{
foreach (var subjectWithRefCounter in dictionary)
foreach (var subjectWithRefCounter in dictionary)
subjectWithRefCounter.Value.Subject.OnCompleted();
dictionary.Clear();
dictionary = null;