Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
GiderosiOSPlayer crash on `print` after app resumed — Gideros Forum

GiderosiOSPlayer crash on `print` after app resumed

n1cken1cke Maintainer
edited July 2016 in Bugs and issues
Gideros version: 2016.06
iOS device: iPad 3
iOS version: 9
xCode version: 7
GiderosiOSPlayer plugins or modification: NO

Steps to reproduce:
Add something to call `print` function. I use touches, you can also use a loop or ENTER_FRAME event:
stage:addEventListener(Event.TOUCHES_BEGIN, function(e)
	print(e.touch.x, e.touch.y)
end)
Or you can use "Touch explorer" from Gideros examples.
Then switch to another app or home menu. Return to your app and call `print` function (touch the screen if you use TOUCHES_BEGIN). GiderosiOSPlayer will crash and you will be returned to home menu.

This doesn't happen on Android or desktop players for me.

Comments

  • hgy29hgy29 Maintainer
    Hmm, I feel like it is linked to the fact that iOS shuts off socket connection to the studio when the app is suspended, since print is redirected to the studio something wrong may happen.
  • n1cken1cke Maintainer
    @hgy29, seems so.
    I must say this bug annoys me the most after returning from sleep mode while running cached examples.
Sign In or Register to comment.