Skip to content
Snippets Groups Projects
Unverified Commit b4a69f00 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub
Browse files

Release the SurfaceTextureSurfaceProducer's surface in the release method (#165835)

The TextureRegistry.SurfaceProducer interface specifies that callers of
getSurface should not cache the returned surface. Therefore, it should
be safe for SurfaceTextureSurfaceProducer to release this surface when
releasing the texture.

Fixes https://github.com/flutter/flutter/issues/163235
parent 882c4214
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment