summaryrefslogtreecommitdiff
path: root/test/event-thread.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-01-21 04:45:40 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-01-25 02:39:14 +0200
commitdfe81fd702c96bfb3f7c5c46f1493d54dfcd1798 (patch)
tree98a46a3089948616454204cff3c734f1e80e9931 /test/event-thread.cpp
parentedbcdebba7602aeb30a12817088bbabbfc57c98b (diff)
test: signal-threads: Destroy Object from correct thread context
The SignalReceiver 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/event-thread.cpp')
0 files changed, 0 insertions, 0 deletions