Skip to content

Commit 33a6dbe

Browse files
authored
Update SurfaceTextureRenderer.java
1 parent b88a93f commit 33a6dbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/src/main/java/com/cloudwebrtc/webrtc/SurfaceTextureRenderer.java

+1
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ public void surfaceDestroyed() {
134134
final CountDownLatch completionLatch = new CountDownLatch(1);
135135
releaseEglSurface(completionLatch::countDown);
136136
ThreadUtils.awaitUninterruptibly(completionLatch);
137+
surface = null;
137138
}
138139

139140
// Update frame dimensions and report any changes to |rendererEvents|.

0 commit comments

Comments
 (0)