diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-03-02 12:23:40 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-03-08 11:51:16 +0000 |
commit | 2cf0c87511caccabdea39a9e65aef10bf5f48c19 (patch) | |
tree | 51d840549baf9a70ecd8a18296ace46d3e140efc /Documentation/theme/footer.html | |
parent | de1b994bbaa4e34dc39c997d99f47026e7cddcfe (diff) |
libcamera: Request: validate state on complete
Requests should only be completed from the RequestPending state.
Requests which are completed from the RequestCancelled, or RequestComplete
state, will indicate that a double-complete has been called on the Request,
or that it has been used internally after it has been given back to the
application.
Ensure that this can be caught early if it occurs by enforcing the state
required with an assert.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <email@uajain.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'Documentation/theme/footer.html')
0 files changed, 0 insertions, 0 deletions