Backport QML: Fortify qmlExecuteDeferred some more
This adapts and backports commit f69b6f09
from Qt6 qtdeclarative, fixing potential crashes on teardown
Bug fixed by this:
https://bugs.kde.org/show_bug.cgi?id=468180
Author: Ulf Hermannulf.hermann@qt.io Change-Id: I9f17894da82b8e7eab88181c96dfa8eaf7795523 Reviewed-by: Fabian Kosmale fabian.kosmale@qt.io
Edited by Marco Martin