Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit dd706cb

Browse files
committed
Invert
1 parent 8c2c548 commit dd706cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/platform/android/io/flutter/embedding/engine/renderer/FlutterRenderer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ final class SurfaceTextureRegistryEntry implements TextureRegistry.SurfaceTextur
131131
new SurfaceTexture.OnFrameAvailableListener() {
132132
@Override
133133
public void onFrameAvailable(@NonNull SurfaceTexture texture) {
134-
if (released && flutterJNI.isAttached()) {
134+
if (released && !flutterJNI.isAttached()) {
135135
// Even though we make sure to unregister the callback before releasing, as of Android
136136
// O
137137
// SurfaceTexture has a data race when accessing the callback, so the callback may

0 commit comments

Comments
 (0)