Skip to content

Commit 006b8a2

Browse files
committed
Surface mirrorer to null on stop
1 parent 2c78d0a commit 006b8a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sceneview/src/main/java/io/github/sceneview/SceneView.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ open class SceneView @JvmOverloads constructor(
548548

549549
fun stopMirroring(surface: Surface) {
550550
surfaceMirrorer?.stopMirroring(this, surface)
551+
surfaceMirrorer = null
551552
}
552553

553554
fun startRecording(mediaRecorder: MediaRecorder) {

0 commit comments

Comments
 (0)