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

--- Comment #8 from RJVB <rjvber...@gmail.com> ---
Do those supposed still-open dialogs have a QObject-based proxy/wrapper class?

One source of UI-related crashes on OS X is deleting object instances
representing UI elements that still have events pending, which can include
events due to closing the UI element. In a nutshell, that's at least partly due
to a mismatch between ObjC's memory management model (which uses refcounting;
[foo release] isn't usually immediate) and C++'s model where `delete foo` has
immediate effect.
Qt provides the QObject::deleteLater() method for that.

Note that deleteLater() only works on pointers, but the side-effects of
immediate free can also arise when a non-pointer instance goes out of scope; in
that case code has to be rewritten to use a pointer...

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

Reply via email to