onStop - event of the PmaObject object
The event is triggered for each Pma
object in the runtime mode only once at the stop of the application. At this time all objects still exist. Here it is suitable, for example, to save the state of the object to disk file, etc.
The event is triggered after the PmaRoot.onAppStopBegin
event and before the PmaRoot.onAppStopEnd
|pMe||(Object) Reference to the PmaObject object where the event rises.|
|pEvent||(Object) Reference to object describing detailed information about the specific event.
The pEvent parameter is not used here because this event does not need any additional information.
Disable the PmaTimer object.
pMe.Pm("/Timer").Enabled = false;