Changeset 14479 in josm


Ignore:
Timestamp:
2018-12-01T20:11:17+01:00 (5 months ago)
Author:
GerdP
Message:

see #17040 Clean refs to Dataset in AutoCompletionManager when OsmDataLayer is removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletionManager.java

    r13434 r14479  
    485485                    ds.removeDataSetListener(AutoCompletionManager.this);
    486486                    MainApplication.getLayerManager().removeLayerChangeListener(this);
     487                    tagCache.clear();
     488                    roleCache.clear();
     489                    ds = null;                   
    487490                }
    488491            }
Note: See TracChangeset for help on using the changeset viewer.