NAME
A static function of omni::application::terminate_handler
omni::application::terminate_handler::detach
A static function of omni::application::terminate_handler
#include <omni/application.hpp>
void omni::application::terminate_handler::detach(const omni::callback& terminate_func)
DESCRIPTION
Detaches a delegate function from the terminate handler event. Detaching a delegate that has not been initially attached has no effect.
Since the terminate handler deals specifically with handling the invocation of std::terminate, a call to
top
Detaches a delegate function from the terminate handler event. Detaching a delegate that has not been initially attached has no effect.
Since the terminate handler deals specifically with handling the invocation of std::terminate, a call to
attach can be made before or after the run context has been invoked and the handlers will be called accordingly.
top
CONSIDERATIONS
This function will only have an effect if you have explicitly called one of the
top
This function will only have an effect if you have explicitly called one of the
omni::application::run functions to block the main thread until program completion.
top