Details
-
Suggestion
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
None
-
None
Description
I don't know if that is feasible with the static analysis that creator has (I doubt it but since I recently saw a bug related to that maybe you can consider it. Creator could then suggest the usage of deleteLater().
Scenario was:
Code deleted a QLocalSocket in a slot connected to the QLocalSocket's readChannelFinished().
Similar situations often arise with QNetworkReply and its finished() signal.
Attachments
Issue Links
- is replaced by
-
QTBUG-14382 Create a warning when object gets deleted while it is doing a signal emission
-
- Reported
-