summaryrefslogtreecommitdiff
path: root/test/object.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-01-19 03:43:55 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-01-25 02:39:20 +0200
commitfdcea5ad7996f65848006e4df8ab75e20dbc0461 (patch)
tree45e70ccef9057d70701824b32005e763955cc5cf /test/object.cpp
parent4f76beae8612f02e086e96d79447b7e8984c8821 (diff)
test: timer-thread: Destroy Object from correct thread context
The TimeoutHandler used in the test is destroyed from the main thread, which is invalid for a thread-bound object bound to a different thread. Fix it by destroying it with deleteLater(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Milan Zamazal <mzamazal@redhat.com>
Diffstat (limited to 'test/object.cpp')
0 files changed, 0 insertions, 0 deletions