Skip to content

2.0.3 Single.takeUntil() crashes  #4961

Closed
@skgmn

Description

@skgmn
Single<T> main;
Flowable<T> other;

main.takeUntil(other.take(1)).subscribe(...);

This pseudo-code crashes when other emits an item. SingleTakeUntil.TakeUntilOtherSubscriber.onCompleted() is called twice and second call generate a crash. Please fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions