Removed debug code

This commit is contained in:
Richard Davey 2024-01-31 16:49:59 +00:00
parent 25787bde36
commit f268ba3f6d

View file

@ -236,18 +236,11 @@ var DisplayList = new Class({
{
var list = this.list;
console.log('DisplayList.shutdown', list.length);
for (var i = 0; i < list.length; i++)
while (list.length)
{
list[i].destroy(true);
list[0].destroy(true);
}
// while (list.length)
// {
// list[0].destroy(true);
// }
this.events.off(SceneEvents.SHUTDOWN, this.shutdown, this);
},