DescriptionLOG and clear SurfaceFactory if it isn't empty on destruction.
Otherwise it will leave dangling pointers in the SurfaceManager. Also add a DestroyAll method to allow owners to ensure every surface in the factory is destroyed.
BUG=428127
Committed: https://crrev.com/fda1c1146ba1944abd2c032ef25cf2f4d35e49c0
Cr-Commit-Position: refs/heads/master@{#302339}
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : #
Total comments: 1
Messages
Total messages: 9 (2 generated)
|