Close child applications on exit
You can configure your application to manage how child applications are closed.
The EXECUTION (under APPLICATION for JGAS)
element has a
CloseAllOnMainExit
attribute. This allows you to specify that all child
applications are closed gracefully when the user exits the main application.
Example CloseAllOnMainExit
This simple application configuration file illustrates how to configure your
application:
<?xml version="1.0" encoding="UTF-8"?>
<APPLICATION>
<EXECUTION CloseAllOnMainExit="TRUE">
<PATH>$(res.path.qa)/applications/gas/closeAll</PATH>
<MODULE>gas-close-all</MODULE>
</EXECUTION>
</APPLICATION>