Windows from `windowX` operators shouldn't throw if subscribed to "late"
benlesh opened this issue · 1 comments
benlesh commented
We have a test confirming that if you subscribe to a window after the parent subscription has been unsubscribed it should throw an ObjectUnsubscribedError
. That honestly doesn't make any sense:
- It's a corner case with an esoteric operator (we only test it in
windowToggle
) I doubt most people hit. - It doesn't make sense. The window is
complete
it's not an error. - It seems to be a side effect of an implementation detail of
Subject#asObservable
whereSubject
"knows" aboutObservable#source
.
I want to faze out Observable#lift
for v9 (and by proxy Observable#operator
and Observable#source
), and this is sort of in the way.
benlesh commented
CORE TEAM: There's problems with the whole ObjectUnsubscribedError
in general. Will file another issue.