[go: up one dir, main page]

Function zng_app::crash_handler::init

source ·
pub fn init(config: CrashConfig)
Expand description

Starts the current app-process in a monitored instance.

This function takes over the first process turning it into the monitor-process, it spawns another process that is the monitored app-process. If the app-process crashes it spawns a dialog-process that calls the dialog handler to show an error message, upload crash reports, etc.