Skip to content

ObservableBlockingSubscribe compares BlockingObserver.TERMINATED with wrong object #6576

@Erlkoenig90

Description

@Erlkoenig90

The ObservableBlockingSubscribe.observe function appears to compare the o variable, i.e. the ObservableSource, which shouldn't ever change, with BlockingObserver.TERMINATED. This will probably never be true. The intention was likely to use v instead of o, in:

Since this appears to be somewhat redundant with bs.isDisposed(), this probably does not cause any issues.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions