diff options
author | NĂcolas F. R. A. Prado <nfraprado@collabora.com> | 2021-07-02 09:21:11 -0300 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-07-06 12:40:47 +0200 |
commit | 034e0e81a2884c456eb191753ffb023fb8107062 (patch) | |
tree | e08e643f3b55de580d6e3c8d65d539e8eec1e102 /src/cam/event_loop.h | |
parent | b0bf6b0aa90e2ce94ec77e389eea0e5849f2eaec (diff) |
lc-compliance: Make SimpleCapture::stop() idempotent
Make SimpleCapture::stop() be able to be called multiple times and at
any point so that it can be called from the destructor and an assert
failure can return immediately.
Signed-off-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/cam/event_loop.h')
0 files changed, 0 insertions, 0 deletions