You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fixing BasemapGallery Sceneview appears blank sometimes.
Refactor NotifySpatialReferenceChanged method calls for improved
asynchronous handling.
* Using Async Await in foreach block
* Introduced a semaphore for thread-safe access to UpdateBasemaps. This avoids multiple invocations of UpdateBasemaps() and NotifySpatialReferenceChanged()
* Refactor UpdateBasemaps for better error handling
Moved Cancellation operation to get semaphopre release earlier
* Modified `UpdateBasemaps` to attempt semaphore entry without waiting.
If another update is in progress, the method exits immediately.
* Adding missing space
* Removing Redundant code
* Removing redundant method nesting
* Moving logic away from SemaphoreSlim and using pending boolean locks to make sure collate subsequent update calls and make it a single call.
* Removed the _isUpdatingBasemaps variable and replaced it with the IsLoading property to manage the loading state.
This change simplifies and consolidating it into a single property.
0 commit comments