forked from Gnonthgol/JOSM-continuos-download
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #22839: NPE at AbstractDownloadStrategy.getExisting()
This is likely due to a race condition where a user deletes a layer just before the download tasks start. This removes the possibility of getting an NPE with `MainApplication.getMap().mapView` and `mapView.getLayerManager()`.
- Loading branch information
Showing
1 changed file
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters