Merge "Cleanup cached state in TestUtils::runOnRenderThread" into nyc-dev

This commit is contained in:
Chris Craik
2016-02-20 00:13:28 +00:00
committed by Android (Google) Code Review

View File

@@ -162,6 +162,7 @@ void TestUtils::TestTask::run() {
renderState.onGLContextCreated();
rtCallback(renderthread::RenderThread::getInstance());
renderState.flush(Caches::FlushMode::Full);
renderState.onGLContextDestroyed();
// Restore the previous signal handler