Skip to main content

dr_app_cleanup

Function dr_app_cleanup 

Source
pub unsafe extern "C" fn dr_app_cleanup() -> c_int
Expand description

Application-wide cleanup. Prints statistics. Returns zero on success. Once this is invoked, calling dr_app_start() or dr_app_setup() is not supported. This should be invoked at application exit, after joining with application threads. If the application wants to continue executing significant code or executing additional threads after cleanup, it should use dr_app_stop_and_cleanup() instead.