Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
JoinableTaskContext.serializedTasks
leak
The collection of joinable tasks for which an ID is requested grew forever. The code that should purge completed tasks from the collection was never executing because the `TaskId` property is programmed to return `null` for completed tasks, and we query the property directly *after* setting the task as completed. The fix then is simple: fetch the TaskId value *first* and *then* set the `JoinableTask` as completed.
- Loading branch information