Catch all exceptions in stopAll() application loop to make sure all apps are stopped.

This commit is contained in:
hns 2003-08-18 12:24:56 +00:00
parent a5feff74f6
commit c583133234

View file

@ -178,9 +178,13 @@ public class ApplicationManager implements XmlRpcHandler {
*/
public void stopAll() {
for (Enumeration en = descriptors.elements(); en.hasMoreElements();) {
try {
AppDescriptor appDesc = (AppDescriptor) en.nextElement();
appDesc.stop();
} catch (Exception x) {
// ignore exception in application shutdown
}
}
}