https://bugs.kde.org/show_bug.cgi?id=440751

--- Comment #10 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Created attachment 142167
  --> https://bugs.kde.org/attachment.cgi?id=142167&action=edit
qjsengine bug reproducer

I found a reliable way to reproduce the issue in QJSEngine. Key points:

* several engines need to work with the same qobject
* if garbage collector runs at some specific point, it seems like qobject
wrappers will be destroyed

if you run the demo, you're going to see

js: customProp2 was stripped away for EffectWindow(0x55d553dc1d50)
js: customProp2 was stripped away for EffectWindow(0x55d553dc1b30)
js: customProp2 was stripped away for EffectWindow(0x55d553dc1f70)

ideally, the demo should not print anything.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to