You should call DesktopApplicationContext.exit() to shut down a standalone app.
G

On Jun 17, 2011, at 3:20 PM, [email protected] wrote:

> I would like to provide an Exit button in a Pivot application running 
> standalone.
> 
> Is it a better way to do this than
> 1. calling explicitely Application.shutdown() to release resources
> 2. System.exit(0) ?
> 
> I mean sending an event that can be properly handled eg confirm exit?
> 
> Thx
> Philippe Bajoit
> ULg/SeGI

Reply via email to