Skip to content

Android FlutterTextureView doesn't release the Surface instance created by itself. #48535

@QingYun

Description

@QingYun

We noticed that in a hybrid App with multiple Flutter views attached to the same Flutter engine rendering under the texture mode, there is a resource leaking issue caused by the Surface instance created by a FlutterTextureView not being released on dispose. We believe simply calling surface.release() right after its creation can solve this bug.

Metadata

Metadata

Labels

a: existing-appsIntegration with existing apps via the add-to-app flowengineflutter/engine related. See also e: labels.platform-androidAndroid applications specifically

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions