Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only trigger the timeoutScheduler when not yet subscribed.
This changeset makes sure that the (costly) delayed execution task is schedule when noone is subscribed yet - since the whole purpose of its existence is to dispose if not subscribed yet. Note that a future improvement might be also to unsubscribe if one subscribes before the cleanup actually runs.
- Loading branch information