- Timestamp:
- 2021-02-20T09:35:18+01:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoader.java
r16553 r17496 158 158 return downloadExecutor; 159 159 } 160 161 /** 162 * Shutdown the job dispatcher provided that it's not the default one 163 */ 164 public void shutdown() { 165 if (!downloadExecutor.equals(DEFAULT_DOWNLOAD_JOB_DISPATCHER)) { 166 downloadExecutor.shutdown(); 167 } 168 } 160 169 } -
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r17495 r17496 1884 1884 TMSCachedTileLoader cachedTileLoader = (TMSCachedTileLoader) tileLoader; 1885 1885 cachedTileLoader.cancelOutstandingTasks(); 1886 cachedTileLoader. getDownloadExecutor().shutdown();1886 cachedTileLoader.shutdown(); 1887 1887 } 1888 1888 } … … 1904 1904 TMSCachedTileLoader cachedTileLoader = (TMSCachedTileLoader) tileLoader; 1905 1905 cachedTileLoader.cancelOutstandingTasks(); 1906 cachedTileLoader. getDownloadExecutor().shutdown();1906 cachedTileLoader.shutdown(); 1907 1907 } 1908 1908 } … … 1964 1964 if (tileLoader instanceof TMSCachedTileLoader) { 1965 1965 TMSCachedTileLoader cachedTileLoader = (TMSCachedTileLoader) tileLoader; 1966 cachedTileLoader. getDownloadExecutor().shutdown();1966 cachedTileLoader.shutdown(); 1967 1967 } 1968 1968 }
Note:
See TracChangeset
for help on using the changeset viewer.