summaryrefslogtreecommitdiff
path: root/test/public-api.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:12 +0200
commitedbcdebba7602aeb30a12817088bbabbfc57c98b (patch)
tree9710e8369d61b8df5a4201dec09ba44ebd1fc583 /test/public-api.cpp
parent652b47249a63f3cf9abb8fc2c51d6a16dedab81a (diff)
test: message: Destroy Object from correct thread context
The MessageReceiver and RecursiveMessageReceiver used in the test are destroyed from the main thread, which is invalid for a thread-bound object bound to a different thread. Fix it by destroying them with deleteLater(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Milan Zamazal <mzamazal@redhat.com>
Diffstat (limited to 'test/public-api.cpp')
0 files changed, 0 insertions, 0 deletions