Skip to content

Don't pass MultiFrameCodec across threads #13359

@amirh

Description

@amirh

The MultiFrameCodec::getNextFrame which is running on the UI thread is passing "this" as part of a closure to the IO thread.
This is unsafe, as it is possible for posted task to run on the IO thread after the dart isolate quit and cleared the object.

@chinmaygarde

Metadata

Metadata

Assignees

Labels

c: crashStack traces logged to the consolec: flakeTests that sometimes, but not always, incorrectly passengineflutter/engine related. See also e: labels.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions