Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
jesseQt last edited by
I have a VideoThumbnail class inherits from QQuickItem, used in QML.
VideoThumbnail has a callback thread which may post update event while
the VideoThumbnail object is being destroyed, this race condition could incur crash.
directly, I create a Q_INVOKABLE method say DeleteMeLater in VideoThumbnail class
and call deleteLater in the method.
Has anyone here done this before and could provide suggestions?
Also is Component.onDestruction DirectConnection? and I assume destruction is emitted
before any destruction starts?
Delayed destroy is not the solution I am looking for.