foundationdb::api

Function disable_stop_on_exit

Source
pub fn disable_stop_on_exit()
Expand description

Disables the automatic network stop at process exit.

The atexit hook registered when the network starts becomes a no-op. Use it when your application owns its shutdown sequence and calls stop_network itself: the C API requires the network to be stopped and joined before a normal process exit.