housing.closeHousing();
}
// User may have cancelled some window closings, so verify housing count
if (UserEnvironmentRegistry.getHousingCount() == 0) {
OSGIRuntime osgiRuntime = OSGIRuntimeImpl.getOSGIRuntime();
try {
osgiRuntime.stopOSGI();
} catch (Exception e1) {
LoggerFactory.getLogger(QuitAction.class).warn(e1.getMessage(), e1);
}
}
}