Ignore:
Timestamp:
2021-03-25T01:56:53+01:00 (3 years ago)
Author:
Don-vip
Message:

see #18737 - add JNLP robustness in order to be able to quit unsigned JAR with OpenWebStart and display about screen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/spi/lifecycle/Lifecycle.java

    r16995 r17663  
    7979            }
    8080            // asynchronous initializations to be completed eventually
    81             initSequence.asynchronousRunnableTasks().forEach(service::submit);
    82             initSequence.asynchronousCallableTasks().forEach(service::submit);
     81            initSequence.asynchronousRunnableTasks().forEach(x -> {
     82                if (x != null) service.submit(x);
     83            });
     84            initSequence.asynchronousCallableTasks().forEach(x -> {
     85                if (x != null) service.submit(x);
     86            });
    8387            try {
    8488                service.shutdown();
Note: See TracChangeset for help on using the changeset viewer.