Jason Simmons 3dac5a71ea Drop the last layer tree when tearing down the rasterizer (#2836)
The LayerTree may be holding references to obsolete Skia/GPU resources,
notably the GrGLGpu.  The old GrGLGpu should be deleted before a new
GrGLGpu is created during the next rasterizer setup.

Fixes https://github.com/flutter/flutter/issues/5074
2016-07-27 15:31:50 -07:00
..