javascript - ios 7.1.1 canvas drawImage memory leak -



javascript - ios 7.1.1 canvas drawImage memory leak -

if i

ctx.drawimage(anothercanvas, clipx, clipy, clipw, cliph, x, y, w, h);

on animation frame, seem huge memory leak till either ios safari or chrome crash. if not clip canvas , draw straight on, there no leak.

ctx.drawimage(anothercanvas, x, y, w, h);

problem need able clip. seems happen on ios. know why happening?

as workaround know way forcefulness garbage collection / clear memory build-up.

any , help much appreciated. :)

i have been having problem, too. think it's bug 7.1.1. workaround -- said it. :\

edit: hmm... take back. had sound memory leak.

javascript ios canvas memory-leaks

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -