[][src]Type Definition dart_sys::Dart_ThreadExitCallback

type Dart_ThreadExitCallback = Option<unsafe extern "C" fn()>;

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.