Hi,
I found memory leak in my code. I startded to cut it to pin leak source, and I finished with… 6 lines of code.
I work in Windows 7. Corona Simulator get additional about 1 MB (!) memory at every tap and finally crashes.
local button = display.newRect( 100, 100, 50, 50 ) local function onTap() media.playSound( "jump1.wav" ) return true end button:addEventListener( "tap", onTap )
The sound is about 1 second and takes 32 KB.
Anyone knows, what’s wrong?
Regards,
Gudicus
