-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Subject#closed
not set on complete
or error
and ObjectUnsubscribedError
is nonsense.
#7209
Labels
8.x
Issues and PRs for version 8.x
AGENDA ITEM
Flagged for discussion at core team meetings
bug
Confirmed bug
Comments
benlesh
added
bug
Confirmed bug
AGENDA ITEM
Flagged for discussion at core team meetings
8.x
Issues and PRs for version 8.x
labels
Mar 8, 2023
Related #7202 |
Note: |
benlesh
added a commit
to benlesh/rxjs
that referenced
this issue
Mar 8, 2023
…plete()` and `error()`. Removed `ObjectUnsubscribedError`. Unsubscribed subjects will no longer throw. BREAKING CHANGE: `ObjectUnsubscribedError` is no longer exported. The constructor was long deprecated. If you need a similar error, you can construct and throw your own. RxJS no longer throws this error. BREAKING CHANGE: `Subject#closed` is no longer writeable. That was never an intended API. If you need to silently close a `Subject`, call `Subject#unsubscribe()`. BREAKING CHANGE: Windows from `windowToggle` will no longer through if leaked and subscribed outside of the main subscription. There's no real use case for this behavior. If you find you needed this behavior, please file and issue. fixes ReactiveX#7200 fixes ReactiveX#7209
benlesh
added a commit
to benlesh/rxjs
that referenced
this issue
Mar 22, 2023
…plete()` and `error()`. Removed `ObjectUnsubscribedError`. Unsubscribed subjects will no longer throw. BREAKING CHANGE: `ObjectUnsubscribedError` is no longer exported. The constructor was long deprecated. If you need a similar error, you can construct and throw your own. RxJS no longer throws this error. BREAKING CHANGE: `Subject#closed` is no longer writeable. That was never an intended API. If you need to silently close a `Subject`, call `Subject#unsubscribe()`. BREAKING CHANGE: Windows from `windowToggle` will no longer through if leaked and subscribed outside of the main subscription. There's no real use case for this behavior. If you find you needed this behavior, please file and issue. fixes ReactiveX#7200 fixes ReactiveX#7209
benlesh
added a commit
to benlesh/rxjs
that referenced
this issue
Apr 4, 2023
…plete()` and `error()`. Removed `ObjectUnsubscribedError`. Unsubscribed subjects will no longer throw. BREAKING CHANGE: `ObjectUnsubscribedError` is no longer exported. The constructor was long deprecated. If you need a similar error, you can construct and throw your own. RxJS no longer throws this error. BREAKING CHANGE: `Subject#closed` is no longer writeable. That was never an intended API. If you need to silently close a `Subject`, call `Subject#unsubscribe()`. BREAKING CHANGE: Windows from `windowToggle` will no longer through if leaked and subscribed outside of the main subscription. There's no real use case for this behavior. If you find you needed this behavior, please file and issue. fixes ReactiveX#7200 fixes ReactiveX#7209
benlesh
added a commit
that referenced
this issue
Apr 4, 2023
…plete()` and `error()`. Removed `ObjectUnsubscribedError`. Unsubscribed subjects will no longer throw. BREAKING CHANGE: `ObjectUnsubscribedError` is no longer exported. The constructor was long deprecated. If you need a similar error, you can construct and throw your own. RxJS no longer throws this error. BREAKING CHANGE: `Subject#closed` is no longer writeable. That was never an intended API. If you need to silently close a `Subject`, call `Subject#unsubscribe()`. BREAKING CHANGE: Windows from `windowToggle` will no longer through if leaked and subscribed outside of the main subscription. There's no real use case for this behavior. If you find you needed this behavior, please file and issue. fixes #7200 fixes #7209
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
8.x
Issues and PRs for version 8.x
AGENDA ITEM
Flagged for discussion at core team meetings
bug
Confirmed bug
Issues:
ObjectUnsubscribedError
is only thrown when aSubject
isclosed
.closed
is nottrue
if the subject is completed or errored.next
,error
,complete
, andsubscribe
of everySubject
to check to see if we need to throw anObjectUnsubscribedError
.ObjectUnsubscribedError
in practice.Related: #7200
The text was updated successfully, but these errors were encountered: