Changeset 5856 in josm
- Timestamp:
- 2013-04-14T13:07:11+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/HistoryLoadTask.java
r5476 r5856 51 51 private HashSet<PrimitiveId> toLoad; 52 52 private HistoryDataSet loadedData; 53 private OsmServerHistoryReader reader = null; 53 54 54 55 public HistoryLoadTask() { … … 159 160 @Override 160 161 protected void cancel() { 161 OsmApi.getOsmApi().cancel(); 162 System.out.println("Cancel!"); 163 //OsmApi.getOsmApi().cancel(); 164 // fix #8601 : could not cancel when server is extremely slow 165 if (reader!=null) reader.cancel(); 162 166 canceled = true; 163 167 } … … 191 195 progressMonitor.indeterminateSubTask(tr(msg, 192 196 Long.toString(pid.getUniqueId()))); 193 OsmServerHistoryReaderreader = null;197 reader = null; 194 198 HistoryDataSet ds = null; 195 199 try {
Note:
See TracChangeset
for help on using the changeset viewer.