Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.4
-
None
Description
The document of QObject::destroyed() states that
This signal is emitted immediately before the object obj is destroyed, after any instances of QPointer have been notified
But QWidget doesn't obey this rule. It emits detroyed() signal in it's own destructor, thus leaving associated QPointer objects valid at the moment of emitting.
Attachments
Issue Links
- relates to
-
QTBUG-103808 Inconsistency between QObject and QWidget destroyed emitted and QPointer
- Reported