Dart_IsolateCleanupCallback typedef

An isolate cleanup callback function.

This callback, provided by the embedder, is called after the vm shuts down an isolate. There will be no current isolate and it is not safe to run Dart code.

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. \param isolate_data The same callback data which was passed to the isolate when it was created.

Implementation

typedef Dart_IsolateCleanupCallback
    = ffi.Pointer<ffi.NativeFunction<Dart_IsolateCleanupCallbackFunction>>;