mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Added protections to RenderScript VTS class teardown." am: 80002c1ff3 am: 06f79dbd05 am: 88d9fda69a
am: 5cc58a7699
Change-Id: If28246fe60aa1f3cf24da4c4668cc91b347abbbc
This commit is contained in:
@@ -28,8 +28,10 @@ void RenderscriptHidlTest::SetUp() {
|
||||
}
|
||||
|
||||
void RenderscriptHidlTest::TearDown() {
|
||||
context->contextFinish();
|
||||
context->contextDestroy();
|
||||
if (context.get() != nullptr) {
|
||||
context->contextFinish();
|
||||
context->contextDestroy();
|
||||
}
|
||||
}
|
||||
|
||||
// A class for test environment setup (kept since this file is a template).
|
||||
|
||||
Reference in New Issue
Block a user