omni::sync::safe_spin_wait::disposing

SYNOPSIS

An event that can be subscribed to when this instance is being destroyed.

top

DESCRIPTION

An event that can be attached to when this object's destructor is called. This is only declared and defined if the OMNI_DISPOSE_EVENT macro is defined.

top

CONSIDERATIONS

You must take care not to have any code cause any exceptions be thrown as this is called during the destruction of this object.

top