Html.run freezes when function does not exist (DEF-3869) (SOLVED)

I want to call a JavaScript function using html5.run. If the function called does not exist, the program hangs. I need html.run to return even if the function called doesn’t exist. Is this possible?

My code:

if html5 then html5.run('parent.cmgGameEvent("start");') end

I would have thought it would return.
What does it say in the console?

1 Like

I would like it to return!

Console indicates a crash:

1 Like

Solved in 1.2.168

1 Like