summaryrefslogtreecommitdiff
path: root/test/threads.cpp
diff options
context:
space:
mode:
authorUmang Jain <email@uajain.com>2020-08-21 06:40:28 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-08-24 01:42:38 +0300
commitcfb5eb31f6a5194bcab4d0c3f636ebf69431b18e (patch)
tree7300a2b65006e4429ba00e18e802c48a2d350add /test/threads.cpp
parent20be38a0db2bfcbd9973ea63ba30e41fca83b200 (diff)
libcamera: object: Fix deleteLater() sample code
Instead of using "delete obj" in the custom deleter of the shared object, we should have been using the "obj->deleteLater()" to explain how the deleteLater() API should be used in practice. Fixes: 9558886f7a85 ("libcamera: object: Add deleteLater() support) Signed-off-by: Umang Jain <email@uajain.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/threads.cpp')
0 files changed, 0 insertions, 0 deletions