I suspect its because there is missing parenting of child Qt components (like here https://github.com/nitroshare/qmdnsengine/blob/2a76f2e90772401a79249c5d474c41bf3dc41699/src/src/server_p.h#L50 should be `QUdpSocket ipv4Socket { this };`)