diff --git a/addon/debug/visualization.js b/addon/debug/visualization.js index 9919a41..9e5ed69 100644 --- a/addon/debug/visualization.js +++ b/addon/debug/visualization.js @@ -192,11 +192,19 @@ export default class Visualization { this.radar = null; this.component = null; this.satellites.forEach((satellite) => { - satellite.destroy(); + satellite.mirrorSatellite = null; + satellite.siblingSatellite = null; + if (satellite.parentNode) { + satellite.parentNode.removeChild(satellite); + } }); this.satellites = null; this.cache.forEach((satellite) => { - satellite.destroy(); + satellite.mirrorSatellite = null; + satellite.siblingSatellite = null; + if (satellite.parentNode) { + satellite.parentNode.removeChild(satellite); + } }); this.cache = null; }