Changeset 11557 in josm for trunk/src/org


Ignore:
Timestamp:
2017-02-13T22:39:50+01:00 (3 years ago)
Author:
Don-vip
Message:

fix #14363 - proper handling of InterruptedException to avoid infinite loop

File:
1 edited

Legend:

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

    r11535 r11557  
    407407
    408408                        EventQueue.invokeAndWait(new CollectorWorker(ms));
    409                     } catch (InterruptedException e) {
    410                         // Occurs frequently during JOSM shutdown, log set to trace only
    411                         Main.trace("InterruptedException in "+MapStatus.class.getSimpleName());
    412                         Thread.currentThread().interrupt();
    413409                    } catch (InvocationTargetException e) {
    414410                        Main.warn(e);
    415411                    }
    416412                }
     413            } catch (InterruptedException e) {
     414                // Occurs frequently during JOSM shutdown, log set to trace only
     415                Main.trace("InterruptedException in "+MapStatus.class.getSimpleName());
     416                Thread.currentThread().interrupt();
    417417            } finally {
    418418                unregisterListeners();
Note: See TracChangeset for help on using the changeset viewer.