Changeset 7533 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2014-09-14T02:28:06+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #10502 - hopefully should fix ConcurrentModificationException in AdvancedKeyPressDetector (incorrect fix for #10444)

File:
1 edited

Legend:

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

    r7469 r7533  
    8585                timer.stop();
    8686                if (set.remove(releaseEvent.getKeyCode())) {
    87                     synchronized (this) {
     87                    synchronized (AdvancedKeyPressDetector.this) {
    8888                        for (KeyPressReleaseListener q: keyListeners) {
    8989                            q.doKeyReleased(releaseEvent);
Note: See TracChangeset for help on using the changeset viewer.