Closed
Description
This is not feasible to do at the moment, because NativeFinalizers
can't call functions created by Pointer.fromFunction
. See #233 for details.
This will be possible once dart-lang/sdk#47778 is fixed
UPDATE (27/10/23): The fix we're going with is to ship a small piece of native code in a support library that will notify the owner isolate when the block is deleted. This is blocked on the native assets feature (see dart-lang/sdk#50565 and flutter/flutter#129757).
Metadata
Metadata
Assignees
Type
Projects
Status
Done