Destroy Method
Class: application
Expand/Collapse source code of procedure Destroy Source Code
*-- In case of application error, we call the CleanUp method 
*-- to clean up the environment for us. If we are quitting 
*-- normally, then thelIsClean flag will be .T. indicating 
*-- that the CleanUp method has already been executed and 
*-- the environment is clean.
IF !this.lIsClean
  this.CleanUp()
ENDIF
CLOSE DATA ALL