def stopTouchApp():
 if (EventLoop is None):
  return
 if (EventLoop.status != 'started'):
  return
 Logger.info('Base: Leaving application in progress...')
 EventLoop.close()

def stopTouchApp ( ) : if ( EventLoop is None ) : return if ( EventLoop . status != 'started' ) : return Logger . info ( 'Base: Leaving application in progress...' ) EventLoop . close ( )
stop the current application by leaving the main loop .