for (ExitListener exitListener : exitListeners) {
exitListener.onExit();
}
StopRunningProfilesAction stopRunningAction = new StopRunningProfilesAction(profileManager, droidContext, this);
if (stopRunningAction.execute()) {
ProfileSelectionDialog dialog = new SaveAllProfilesDialog(this, droidContext.allDirtyProfiles());
final ExitAction action = new ExitAction(droidContext, dialog, profileManager);
action.addPropertyChangeListener(new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent evt) {