mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Camera: Vts: Fix missing session close
Test: vendor testing, Camera VTS on Pixel Bug:135898951 Change-Id: I61f5a90d62732a00d0bc9abad05db0a1a9cc2b63
This commit is contained in:
committed by
Shuzhen Wang
parent
33e8a3668d
commit
d21dd860ce
@@ -4135,6 +4135,8 @@ TEST_F(CameraHidlTest, processMultiCaptureRequestPreview) {
|
|||||||
&useHalBufManager /*out*/, &cb /*out*/, 0 /*streamConfigCounter*/,
|
&useHalBufManager /*out*/, &cb /*out*/, 0 /*streamConfigCounter*/,
|
||||||
true /*allowUnsupport*/);
|
true /*allowUnsupport*/);
|
||||||
if (session3_5 == nullptr) {
|
if (session3_5 == nullptr) {
|
||||||
|
ret = session3_4->close();
|
||||||
|
ASSERT_TRUE(ret.isOk());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user