pub type Dart_IsolateGroupCleanupCallback = Option<unsafe extern "C" fn(isolate_group_data: *mut c_void)>;
Expand description

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.

Aliased Type§

enum Dart_IsolateGroupCleanupCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void))

Some value of type T.