Skip to content

imageReader.acquireNextImage failed with ACQUIRE_MAX_IMAGES #18

@std-microblock

Description

@std-microblock

It's clear that there are leaked image instances (not closed after use) but I didn't figure out where.

Replacing CamEngine.kt Line 230

var lastImg = imageReader.acquireNextImage()

with

var lastImg = imageReader.acquireLatestImage()

can be a temporary workaround for the issue, but we'd better find out where the images leaked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions