Breaking change 45072: dart:ffi Pointers and structs can no longer have native finalizers

59 views
Skip to first unread message

Daco Harkes

unread,
Feb 22, 2021, 11:17:48 AM2/22/21
to Dart Announcements
If you do not use dart:ffi you may stop reading now.

We're making a breaking change in dart_api.h to disallow invoking Dart_NewWeakPersistentHandle and Dart_NewFinalizableHandle with Pointer and subtypes of Struct.

If you are using the dart_api in this way, please let us know your use cases by replying in the breaking change issue.

The official breaking change request:
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages