diff --git a/android/src/main/java/com/mrousavy/camera/CameraView.kt b/android/src/main/java/com/mrousavy/camera/CameraView.kt index 1b1f6f8..898de35 100644 --- a/android/src/main/java/com/mrousavy/camera/CameraView.kt +++ b/android/src/main/java/com/mrousavy/camera/CameraView.kt @@ -229,6 +229,7 @@ class CameraView(context: Context, private val frameProcessorThread: ExecutorSer cameraExecutor.shutdown() takePhotoExecutor.shutdown() recordVideoExecutor.shutdown() + reactContext.removeLifecycleEventListener(this) } }) }