Skip to content

Tasks should not hold a ref to their parent #1789

Closed
@brson

Description

@brson

Tasks are reference counted and every child task holds a reference to its parent until the child is destroyed or becomes unsupervised. This could have many bizarre consequences, keeping lots of resources around long after they should be released.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions