Joined: Wed Oct 03, 2012 9:53 am Posts: 2795 Location: Colorado, U.S.
On my Moto G, the crash is an Index Out Of Bounds Exception. The renderer gets the index of the bitmap in the bitmap list, but the bitmap list is already gone. It's a race condition as the graphics screen shuts down.
The bitmap list is not cleared when the graphics screen shut down. I don't know why, and I think it should be. But your program just exits, so the graphics screen, the console, and the interpreter are all trying to shut down at the same time. The display list is cleared as the interpreter shuts down. If the graphics screen is still running when that happens, and the display list has a bitmap.draw object, it will crash.
Gr.Close replaces the display list with a single Close object and forces a Gr.Render. That lets the graphics screen shut down gracefully.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum