onStop - event of object PmObject
The event fires for each Promotic object in the runtime 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 into a disk file, etc.
The event fires after the PmRoot.onAppStopBegin event and before the PmRoot.onAppStopEnd event.
|pMe||(Object) Reference to the Promotic object where the event rises.|
|pEvent||(Object) A referrence 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.