Ashwini

Members
  • Content count

    1
  • Joined

  • Last visited

  1. Phaser Memory Leak Issue

    Hi All, In my phaser game when I play audio and change game state, its memory usage goes overflow and chrome browser gets crash. please advise. for (var i = 0; i < objModel.audioArr.length; i++) { objModel.audioArr.pause(); objModel.audioArr.destroy(true); objModel.audioArr=null; } objModel.audioArr=[]; state.start('PhaserPreloader');