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