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

Commit 235e9b03 authored by zhangweiwei's avatar zhangweiwei Committed by android-build-merger
Browse files

Camera: Vts: Fix missing session close

am: d21dd860

Change-Id: I402a964794392ee6c4233241ce97a369b3b93781
parents 3531ec01 d21dd860
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4135,6 +4135,8 @@ TEST_F(CameraHidlTest, processMultiCaptureRequestPreview) {
                &useHalBufManager /*out*/, &cb /*out*/, 0 /*streamConfigCounter*/,
                true /*allowUnsupport*/);
        if (session3_5 == nullptr) {
            ret = session3_4->close();
            ASSERT_TRUE(ret.isOk());
            continue;
        }