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:14 +0200 |
commit | dfe81fd702c96bfb3f7c5c46f1493d54dfcd1798 (patch) | |
tree | 98a46a3089948616454204cff3c734f1e80e9931 /test/serialization/serialization_test.cpp | |
parent | edbcdebba7602aeb30a12817088bbabbfc57c98b (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/serialization/serialization_test.cpp')
0 files changed, 0 insertions, 0 deletions