Changeset 10387 in josm for trunk/src/org


Ignore:
Timestamp:
2016-06-15T17:33:14+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #12970 - NPE in Main.exitJosm when a restart occurs during IPv6 check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/Main.java

    r10371 r10387  
    11081108    public static boolean exitJosm(boolean exit, int exitCode) {
    11091109        if (Main.saveUnsavedModifications()) {
    1110             Main.main.shutdown();
     1110            if (Main.main != null) {
     1111                Main.main.shutdown();
     1112            }
    11111113
    11121114            if (exit) {
Note: See TracChangeset for help on using the changeset viewer.