Dart_IsolateGroupCleanupCallback typedef

Dart_IsolateGroupCleanupCallback = Pointer<NativeFunction<Void Function(Pointer<Void> isolate_group_data)>>

An isolate group cleanup callback function.

This callback, provided by the embedder, is called after the vm shuts down an isolate group.

This function should be used to dispose of native resources that are allocated to an isolate in order to avoid leaks.

\param isolate_group_data The same callback data which was passed to the isolate group when it was created.

Implementation

typedef Dart_IsolateGroupCleanupCallback = ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void> isolate_group_data)>>;