Dart_ThreadExitCallback typedef

A thread death callback function. This callback, provided by the embedder, is called before a thread in the vm thread pool exits. This function could be used to dispose of native resources that are associated and attached to the thread, in order to avoid leaks.

Implementation

typedef Dart_ThreadExitCallback
    = ffi.Pointer<ffi.NativeFunction<Dart_ThreadExitCallbackFunction>>;