NotifyStop
This method is called when event generation is stopped for any reason (for example, due to an error condition or a call to ECLPS::UnregisterPSEvent).
The reason code parameter is currently unused and will be zero.
The default implementation of this function does nothing.