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

Commit 0c82e022 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala Committed by Android Git Automerger
Browse files

am c7d9afdc: Camera2: Make sure to clean out reprocess streams on shutdown as well.

* commit 'c7d9afdc':
  Camera2: Make sure to clean out reprocess streams on shutdown as well.
parents d2b4224e c7d9afdc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -145,6 +145,7 @@ status_t Camera2Device::disconnect() {
            ALOGW("%s: Closing camera device %d with %d requests in flight!",
                    __FUNCTION__, mId, inProgressCount);
        }
        mReprocessStreams.clear();
        mStreams.clear();
        res = mDevice->common.close(&mDevice->common);
        if (res != OK) {