Changeset 8715 in josm for trunk/src/org


Ignore:
Timestamp:
2015-09-02T20:54:15+02:00 (5 years ago)
Author:
wiktorn
Message:

As tileCache is again MemoryTileCache, so now - unconditionally clear it on cache clear.

File:
1 edited

Legend:

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

    r8714 r8715  
    234234            ((CachedTileLoader) tileLoader).clearCache(tileSource);
    235235        }
    236         // if we use TMSCachedTileLoader, we already cleared by tile source, this is needed
    237         // to prevent removal of additional objects
    238         if (!(tileLoader instanceof TMSCachedTileLoader)) {
    239             tileCache.clear();
    240         }
    241 
     236        tileCache.clear();
    242237    }
    243238
Note: See TracChangeset for help on using the changeset viewer.