Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1bc4ee45 authored by Chris Craik's avatar Chris Craik
Browse files

Cleanup cached state in TestUtils::runOnRenderThread

Change-Id: I097217c80db5c509d97ef050633946110fccbc80
parent bc163f07
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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