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

Commit 80002c1f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Added protections to RenderScript VTS class teardown."

parents 16a0437a 4c659778
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -28,9 +28,11 @@ void RenderscriptHidlTest::SetUp() {
}

void RenderscriptHidlTest::TearDown() {
    if (context.get() != nullptr) {
        context->contextFinish();
        context->contextDestroy();
    }
}

// A class for test environment setup (kept since this file is a template).
class RenderscriptHidlEnvironment : public ::testing::Environment {