Skip to content

Commit

Permalink
Surface mirrorer to null on stop
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasGorisse committed Dec 22, 2023
1 parent 2c78d0a commit 006b8a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sceneview/src/main/java/io/github/sceneview/SceneView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ open class SceneView @JvmOverloads constructor(

fun stopMirroring(surface: Surface) {
surfaceMirrorer?.stopMirroring(this, surface)
surfaceMirrorer = null
}

fun startRecording(mediaRecorder: MediaRecorder) {
Expand Down

0 comments on commit 006b8a2

Please sign in to comment.