closing newWebView crashes with twitter.com

hello guys, in our game “Little Galaxy” we’re struggling with situation when https://www.twitter.com is opened in newWebView and when closing it, it crashes almost every time. However when we change url to google.com or whatever, it works ok. do you have any idea, what’s wrong? we’re using latest daily build (2099)

here is simplified version of code (main.lua):

display.setStatusBar( display.HiddenStatusBar )

local webView 

local function close(event)

    webView:removeSelf()

    webView = nil

end

webView = native.newWebView( 0, 0, 850, 850 )

webView:request( “https://www.twitter.com/” )  --if you replace with google.com, it works

webView.x = display.contentWidth*0.5

webView.y = display.contentHeight*0.5

timer.performWithDelay(2000,close)  --close web view

Is this crashing on the simulator or on device?  If simulator, have you tried it on a device?

Thanks

Rob

hi rob, it happens in simulator almost every time (90%) and also on ipad device. but on device this code is part of my game and it’s little more complicated and it’s part of bigger code. so i’ve make this simplified example to show the problem out

What version of Corona SDK are you using?  I cannot get the above snippet of code to crash in the simulator.  I did like 20 reloads and they all worked like they are supposed to.

I’m using build 2100.

Rob

Is this crashing on the simulator or on device?  If simulator, have you tried it on a device?

Thanks

Rob

hi rob, it happens in simulator almost every time (90%) and also on ipad device. but on device this code is part of my game and it’s little more complicated and it’s part of bigger code. so i’ve make this simplified example to show the problem out

What version of Corona SDK are you using?  I cannot get the above snippet of code to crash in the simulator.  I did like 20 reloads and they all worked like they are supposed to.

I’m using build 2100.

Rob