Skip to content

Offer can throw, crashing the app on edge cases where cancellation happens in another thread #85

@LouisCAD

Description

@LouisCAD

setOnCameraIdleListener { offer(CameraIdleEvent) }
setOnCameraMoveCanceledListener { offer(CameraMoveCanceledEvent) }
setOnCameraMoveListener { offer(CameraMoveEvent) }
setOnCameraMoveStartedListener { offer(CameraMoveStartedEvent(it)) }

Relevant issue with workaround that this library can use (with internal visibility): Kotlin/kotlinx.coroutines#974

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions