Commit 4501da2
committed
Dispose CancellationTokenSource
This commit disposes the CancellationTokenSource when diposing the BulkAllObservable<T>.
Since the CancellationTokenSource could be linked to a passed CancellationToken
that sets a timeout, not disposing it can lead to flooding the timer queue, affecting performance.1 parent 011300d commit 4501da2
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
0 commit comments