Changeset 5896 in josm for trunk


Ignore:
Timestamp:
2013-04-21T15:01:26+02:00 (7 years ago)
Author:
Don-vip
Message:

fix #8582 - synchronize Main.removeLayer()

File:
1 edited

Legend:

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

    r5889 r5896  
    292292     * @param layer The layer to remove
    293293     */
    294     public final void removeLayer(final Layer layer) {
     294    public final synchronized void removeLayer(final Layer layer) {
    295295        if (map != null) {
    296296            map.mapView.removeLayer(layer);
Note: See TracChangeset for help on using the changeset viewer.