-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(windowToggle): fix window closing and unsubscription semantics
Fix windowToggle in order to unsubscribe inner windows whenever the outer Observable is unsubscribed. Also allow windows to be closed when the closingNotifier Observables complete without having emitted a 'next' value previously. Also only open a new window if the closingSelector hasn't thrown an error.
- Loading branch information
Showing
1 changed file
with
31 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters