[][src]Function sentry_core::end_session_with_status

pub fn end_session_with_status(status: SessionStatus)

End the current Release Health Session with the given SessionStatus.

By default, the SDK will only consider the Exited and Crashed status based on the type of events that were captured during the session.

When an Abnormal session should be captured, it has to be done explicitly using this function.