mirror of
https://github.com/evopro-ag/Sharp7Reactive.git
synced 2025-12-16 11:42:52 +00:00
Cleanup
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace Sharp7.Rx.Basics
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user