OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 156 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 156 Rev 177
Line 169... Line 169...
169
                    try {
169
                    try {
170
                        // MAYBE only run beforeShutdown() if afterWindowsClosed() is successful
170
                        // MAYBE only run beforeShutdown() if afterWindowsClosed() is successful
171
                        c.beforeShutdown();
171
                        c.beforeShutdown();
172
 
172
 
173
                        if (c.shouldRestart())
173
                        if (c.shouldRestart())
174
                            VMLauncher.restart(ProcessStreams.Action.CLOSE, GestionLauncher.class);
174
                            VMLauncher.restart(ProcessStreams.DISCARD, GestionLauncher.class);
175
                    } catch (Exception e) {
175
                    } catch (Exception e) {
176
                        // in shutdown sequence : don't use the GUI
176
                        // in shutdown sequence : don't use the GUI
177
                        e.printStackTrace();
177
                        e.printStackTrace();
178
                    }
178
                    }
179
                }
179
                }