Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/services/map_data_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ class MapDataProvider {
throw OfflineModeException("Cannot fetch remote nodes for offline area download in offline mode.");
}

// For downloads, always fetch fresh data (don't use cache)
// For downloads, always fetch fresh data (don't use cache).
// Note: passes null generation, so downloads are never cancelled by stale-fetch
// detection and will hold semaphore slots until complete. This is intentional —
// offline downloads should run to completion — but means concurrent downloads
// can block foreground map fetches via the shared semaphore.
return _nodeDataManager.fetchWithSplitting(bounds, profiles);
}

Expand Down
Loading
Loading