Open
Description
The native finalizers in asTypedList
are bound to an isolate, not an isolate group:
Lines 368 to 373 in 4dd6ee6
Hypothesis: The TypedData we create out of Pointer is marked unmodifiable.
We need to either mark the typed data as mutable so that the view does not consider the typed data as unmodifiable, and we copy instead of share the object.
Or, we need to attach finalizers in the isolate group instead of the isolate.
Context:
TODO: verify hypothesis. (Filing issue so that I don't forget.)