Can you produce a small app that demos the problem still? This is the first set of complaints about this in a while.
We’re still seeing this same issue where a removed webview causes segmentation fault crashes.
In my case, our game supports all orientations. We have a pull down menu which contains a webview, and when the game rotates we remove this menu+webview and redraw them as a different size to better fit the screen.
If the webview has not finished loading, it almost always causes a crash (it’s hard to tell how often because the webview is sometimes off screen).
It seems that:
webView:stop() webView:removeEventListener( "urlRequest", webListener )
have no effect if a request is still incoming.
We’ve just had to retract a submission to apple because we spotted this after submitting, and we’re trying to come up with a suitable workaround. So while I would like to make a sample app, I’m not sure I can right now.
I’m using daily build 2014.2432, which is only a few days old.
Can you file a bug report? We think this was fixed, and if its not working, Engineering will need something to go on.
Rob
We’re still seeing this same issue where a removed webview causes segmentation fault crashes.
In my case, our game supports all orientations. We have a pull down menu which contains a webview, and when the game rotates we remove this menu+webview and redraw them as a different size to better fit the screen.
If the webview has not finished loading, it almost always causes a crash (it’s hard to tell how often because the webview is sometimes off screen).
It seems that:
webView:stop() webView:removeEventListener( "urlRequest", webListener )
have no effect if a request is still incoming.
We’ve just had to retract a submission to apple because we spotted this after submitting, and we’re trying to come up with a suitable workaround. So while I would like to make a sample app, I’m not sure I can right now.
I’m using daily build 2014.2432, which is only a few days old.
Can you file a bug report? We think this was fixed, and if its not working, Engineering will need something to go on.
Rob