Commit e2b1d2f
Removed unnecessary upstream.cancel() call for casually finished upstream sequences. (#6992)
* no upstream.cancel() in FlowablePublishMulticast when the sequence is finished normally via onComplete/onError from upstream;
minor code cleanup - unnecessary Disposable implementation to avoid method name clash
* cleanup in FlowablePublishFunctionTest: refactored anonymous classes to lambdas
* reduced visibility for dispose() and isDisposed() in the inner MulticastProcessor
Co-authored-by: derar <derar@appsflyer.com>1 parent ca222c2 commit e2b1d2f
File tree
2 files changed
+93
-182
lines changed- src
- main/java/io/reactivex/rxjava3/internal/operators/flowable
- test/java/io/reactivex/rxjava3/internal/operators/flowable
2 files changed
+93
-182
lines changedLines changed: 10 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
127 | | - | |
| 126 | + | |
128 | 127 | | |
129 | 128 | | |
130 | 129 | | |
| |||
192 | 191 | | |
193 | 192 | | |
194 | 193 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | | - | |
| 206 | + | |
208 | 207 | | |
209 | 208 | | |
210 | 209 | | |
| |||
0 commit comments