This method determines whether a reactive instance can be safely destroyed by its active instance. This method is called by the processEvent and takeTrigger methods.
Public
long shouldTerminate() const
The method returns omrStatus & OMRShouldTerminate. If this value is 0, the object should not terminate. If the value is greater than 0, the object should terminate.