Changeset 12276 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-05-30T10:23:33+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ListenableWeakReference.java
r12192 r12276 56 56 57 57 private static void clean() { 58 boolean running = true; 58 59 try { 59 while ( true) {60 while (running) { 60 61 Reference<? extends Object> ref = GLOBAL_QUEUE.remove(); 61 62 if (ref instanceof ListenableWeakReference) { … … 64 65 } 65 66 } catch (InterruptedException e) { 67 running = false; 66 68 BugReport.intercept(e).warn(); 67 69 Thread.currentThread().interrupt();
Note:
See TracChangeset
for help on using the changeset viewer.