Function glean::handle_client_inactive

source ·
pub fn handle_client_inactive()
Expand description

Performs the collection/cleanup operations required by becoming inactive.

This functions generates a baseline and an events ping with reason inactive and then clears the dirty bit. This should be called whenever the consuming product becomes inactive (e.g. getting to background).