File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
src/main/java/io/reactivex Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -189,9 +189,6 @@ public void onSubscribe(Subscription s) {
189
189
@ Override
190
190
public void onNext (T t ) {
191
191
ObjectHelper .requireNonNull (t , "onNext called with null. Null values are generally not allowed in 2.x operators and sources." );
192
- if (subscribers .get () == TERMINATED ) {
193
- return ;
194
- }
195
192
for (PublishSubscription <T > s : subscribers .get ()) {
196
193
s .onNext (t );
197
194
}
Original file line number Diff line number Diff line change @@ -225,10 +225,6 @@ public void onSubscribe(Disposable s) {
225
225
@ Override
226
226
public void onNext (T t ) {
227
227
ObjectHelper .requireNonNull (t , "onNext called with null. Null values are generally not allowed in 2.x operators and sources." );
228
-
229
- if (subscribers .get () == TERMINATED ) {
230
- return ;
231
- }
232
228
for (PublishDisposable <T > s : subscribers .get ()) {
233
229
s .onNext (t );
234
230
}
You can’t perform that action at this time.
0 commit comments