Skip to content

Release typed data before calling Dart_ThrowException() #99347

@zanderso

Description

@zanderso

This mirrors the issue described by @mkustermann in dart-lang/sdk#48488 (comment). Typed data that has been acquired needs to be released before throwing a Dart exception.

Solving this issue should include a unit test that runs under asan with leak checking on that triggers the exception path.

/cc @dnfield @chinmaygarde @rmacnak-google @a-siva

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: tech-debtTechnical debt, code quality, testing, etc.engineflutter/engine related. See also e: labels.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions