Tutorial: application.terminate

application.terminate

Closes the application by terminating its process.

Example

var application = new fin.desktop.Application({
    name: 'openfin', 
    url:'http://www.openfin.co',
    uuid:'OpenFinSiteUUID', 
    autoShow: true
});

application.run();
application.terminate();