Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Template.alertssummary.destroyed = function() {
dc.deregisterAllCharts( 'alertssummary' );
};
sceneControls.enabled=false;
sceneControls = null;
sceneObjects=[];
selectedObject=null;
intersectedObject=null;
mouse = null;
offset = null;
projector = null;
plane = null;
renderer = null;
cssRenderer = null;
characters = [];
baseCharacter = null;
clock=null;
container = null;
dc.deregisterAllCharts('attackers');
ringChartAttackerCategory = null;
ringChartLastSeen = null;
ringChartIP = null;
ndx = null;
if (cursorAttackers){
cursorAttackers.stop();
}
cursorAttackers=null;
};//end template.attackers.destroyed
}
Template.mozdefhealth.destroyed = function() {
dc.deregisterAllCharts();
};
}