Skip to content

Close unused Image before acquire new one#2821

Open
XuBing0 wants to merge 1 commit intoprojectceladon:celadon/u/mr0/masterfrom
XuBing0:frame122
Open

Close unused Image before acquire new one#2821
XuBing0 wants to merge 1 commit intoprojectceladon:celadon/u/mr0/masterfrom
XuBing0:frame122

Conversation

@XuBing0
Copy link
Contributor

@XuBing0 XuBing0 commented Feb 5, 2025

Fix IllegalStateException: maxImages (30) has already been acquired, call #close before acquiring more. Before onImageRequestCompleted, onImageAvailable may be called multiple times, with only the last one being used. And acquireLatestImage has limitations, so it is necessary to close unused images.

Tracked-On: OAM-129481

Fix IllegalStateException: maxImages (30) has already been acquired,
call #close before acquiring more. Before onImageRequestCompleted,
onImageAvailable may be called multiple times, with only the last one
being used. And acquireLatestImage has limitations, so it is necessary
to close unused images.

Tracked-On: OAM-129481
Signed-off-by: Xu Bing <bing.xu@intel.com>
@sysopenci
Copy link

Improper Commit Message
Valid Commit Message
Improper Jira Status,
jira status not in ['In Progress','Implemented']

@sysopenci sysopenci added Pending PR Review Pending PR Review Engineering Build Not Started Engineering Build Not Started labels Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Engineering Build Not Started Engineering Build Not Started Invalid commit message Pending Developer Approval Pending Developer Approval Pending PR Review Pending PR Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants