79466746

Date: 2025-02-25 13:39:42
Score: 0.5
Natty:
Report link

QObject has a signal to inform anyone that it's getting destroyed : QObject::destroyed
Signal are calling slots synchronously.

Qt object tree is smart enough to know when a child or a parent has been destroyed and update the tree accordingly, same thing with smart pointers I believe (like Ahmed AEK answer is explaining with the order of destructors being called https://stackoverflow.com/a/79463172/6165833).

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • No code block (0.5):
  • High reputation (-1):
Posted by: ymoreau