CollisionNode: delete all shape connections on destruction
Since we store the shapes we can just loop through them on destruction
and disconnect all connections.
Fixes: QTBUG-108897
Pick-to: 6.5 6.4
Change-Id: I96873c1189caf8c26c13c8466fbf8285ba73299d
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
| commit | f3e14cd236b3b7d31ba95506aa87f6b030f56dcd |
| parent | 8cffba973ed8f974e8e8e34a9ed06627595f5be9 |
| author | Jonas Karlsson <jonas.karlsson@qt.io> |
| committer | Jonas Karlsson <jonas.karlsson@qt.io> |
| commit time | Fri, 16 Dec 2022 11:19:56 +0100 |