omni::application::terminate_handler::detach

SYNOPSIS

Detach a delegate function from the terminate handler event.

#include <omni/application.hpp>
void omni::application::terminate_handler::detach(const omni::callback& terminate_func)


top

DESCRIPTION

Detaches a delegate function from the terminate handler event. Detaching a delegate that has not been initially attached has no effect.

top

PARAMETERS top

terminate_func - The omni::callback delegate function to attach.

RETURN VALUES

No return value.

top

ERRORS

No errors specific to this context.

top

CONSIDERATIONS

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

PLATFORM SPECIFIC

Nothing platform specific to account for.

top

NOTES

No additional notes.

top

EXAMPLE
Currently no examples.
Visit the examples page for more.

top