History · Aug 13, 2026
NativeFinalizer.callback
Dart SDK · dart:ffi
Added NativeFinalizer.callback, an API that returns the finalization callback a NativeFinalizer was created with.
The change makes it possible for a native resource wrapper to detach from a finalizer and invoke the original callback without separately retaining it.
- 43 additions across 4 files
- Landed in the Dart SDK on August 13, 2026
- Commit
- Pull request #64011