Changeset 13271 in josm for trunk/src


Ignore:
Timestamp:
2018-01-02T00:31:23+01:00 (7 years ago)
Author:
Don-vip
Message:

fix #15709 - fix memory leak when browsing geoimages: remove correct image reference from media tracker after rotation (regression from r13191)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageDisplay.java

    r13265 r13271  
    337337                        g.drawImage(img, xform, null);
    338338                        g.dispose();
    339                         img.flush();
     339                        tracker.removeImage(img);
    340340                        img = rot;
    341341                    }
Note: See TracChangeset for help on using the changeset viewer.