We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8f3ce90 + 921c57e commit 5cebcfbCopy full SHA for 5cebcfb
geo/src/androidMain/kotlin/dev/icerock/moko/geo/LocationTracker.kt
@@ -36,8 +36,8 @@ actual class LocationTracker(
36
it.interval = interval
37
it.priority = priority
38
}
39
- private val locationsChannel = Channel<LatLng>(Channel.BUFFERED)
40
- private val extendedLocationsChannel = Channel<ExtendedLocation>(Channel.BUFFERED)
+ private val locationsChannel = Channel<LatLng>(Channel.CONFLATED)
+ private val extendedLocationsChannel = Channel<ExtendedLocation>(Channel.CONFLATED)
41
private val trackerScope = CoroutineScope(Dispatchers.Main)
42
43
fun bind(lifecycle: Lifecycle, context: Context, fragmentManager: FragmentManager) {
0 commit comments