diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-01-19 03:43:55 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-01-25 02:39:08 +0200 |
commit | 1f5d485bfb1728dc6e2e57a6714709c2aad4e4a7 (patch) | |
tree | 776ac29625140a6fe72b2ea0bca1a4ca05f5ab02 /src/apps/lc-compliance/main.cpp | |
parent | f422624d9c47b6f81c00d4b9fe2719b545b1392a (diff) |
test: event-thread: Destroy Object from correct thread context
The EventHandler 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 'src/apps/lc-compliance/main.cpp')
0 files changed, 0 insertions, 0 deletions