2D: Prevent AxisHandler from holding a dangling pointer
This prevents a crash when AxisRenderer::handlePolish() tries to delete
the dangling pointer.
Fixes: QTBUG-149930
Pick-to: 6.12 6.11
Change-Id: I0438bc3d94085c8a49114d6250c1dbe53e3e388a
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
| commit | dc4768865d618ba4ff9a123f8e7c51ea90d08a02 |
| parent | 9544cd541e96765639ca74cc1bb0861f5bccbcdb |
| author | Sze Howe Koh <szehowe.koh@gmail.com> |
| committer | Sze Howe Koh <szehowe.koh@gmail.com> |
| commit time | Mon, 7 Sep 2026 13:16:22 +0000 |