Fix #7474 - Topology checker: QGIS crash on exit, after activating the topology checker panel