Function re_sdk::global::cleanup_if_forked_child

source ·
pub fn cleanup_if_forked_child()
Expand description

Check whether we are the child of a fork.

If so, then our globals need to be cleaned up because they don’t have associated batching or sink threads. The parent of the fork will continue to process any data in the original globals so nothing is being lost by doing this.