diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-01-21 04:45:40 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-01-25 02:39:12 +0200 |
commit | edbcdebba7602aeb30a12817088bbabbfc57c98b (patch) | |
tree | 9710e8369d61b8df5a4201dec09ba44ebd1fc583 /test/unique-fd.cpp | |
parent | 652b47249a63f3cf9abb8fc2c51d6a16dedab81a (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/unique-fd.cpp')
0 files changed, 0 insertions, 0 deletions