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
The
MultiFrameCodec::getNextFramewhich 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