Skip to content

fix: resolve race condition in location listener causing NullPointerException#569

Open
jokerttu wants to merge 1 commit intomainfrom
fix/location-listener-race-condition
Open

fix: resolve race condition in location listener causing NullPointerException#569
jokerttu wants to merge 1 commit intomainfrom
fix/location-listener-race-condition

Conversation

@jokerttu
Copy link
Copy Markdown
Contributor

Fixes crash caused by NullPointerException in RoadSnappedLocationProvider.LocationListener.onRawLocationUpdate when calling stopUpdatingLocation.

Fixes #560

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation
  • I added new tests to check the change I am making
  • All existing and new tests are passing.

@jokerttu jokerttu requested a review from illuminati1911 April 10, 2026 14:29
@jokerttu jokerttu force-pushed the fix/location-listener-race-condition branch from b553e3b to b9db1ff Compare April 15, 2026 06:23
@jokerttu jokerttu force-pushed the fix/location-listener-race-condition branch from b9db1ff to 89ffe56 Compare April 16, 2026 21:07
@jokerttu jokerttu marked this pull request as ready for review April 16, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android crash: NullPointerException in RoadSnappedLocationProvider.LocationListener.onRawLocationUpdate

2 participants