Function dart_sys::Dart_Cleanup

source ·
pub unsafe extern "C" fn Dart_Cleanup() -> *mut c_char
Expand description

Cleanup state in the VM before process termination.

\return NULL if cleanup is successful. Returns an error message otherwise. The caller is responsible for freeing the error message.

NOTE: This function must not be called on a thread that was created by the VM itself.