-
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
(Likely) Scheduled action leaks #6561
Comments
I have some plans for this I think. 🤔 |
benlesh
added a commit
to benlesh/rxjs
that referenced
this issue
Aug 13, 2021
…n references Resolves ReactiveX#6561
benlesh
added a commit
to benlesh/rxjs
that referenced
this issue
Aug 13, 2021
…n references Resolves ReactiveX#6561
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems likely to me that some - if not all - of the following
scheduler.schedule
calls will leak actions that are added to another subscription - similar to the leak that was fixed in #6559:rxjs/src/internal/observable/combineLatest.ts
Line 296 in 5d0e41e
rxjs/src/internal/operators/bufferTime.ts
Line 120 in 5d0e41e
rxjs/src/internal/operators/bufferTime.ts
Lines 128 to 133 in 5d0e41e
rxjs/src/internal/operators/mergeInternals.ts
Line 117 in 5d0e41e
rxjs/src/internal/operators/windowTime.ts
Line 139 in 5d0e41e
rxjs/src/internal/operators/windowTime.ts
Lines 147 to 152 in 5d0e41e
rxjs/src/internal/scheduled/scheduleAsyncIterable.ts
Lines 11 to 25 in 5d0e41e
rxjs/src/internal/scheduled/scheduleObservable.ts
Lines 9 to 16 in 5d0e41e
rxjs/src/internal/scheduled/schedulePromise.ts
Lines 9 to 14 in 5d0e41e
rxjs/src/internal/util/caughtSchedule.ts
Lines 11 to 18 in 5d0e41e
Some of these might leak only a few actions, but any leaked actions will have a closure that could be referencing a resource.
@benlesh
The text was updated successfully, but these errors were encountered: