Skip to content
Commit 57cbae5d authored by Stefano Crocco's avatar Stefano Crocco
Browse files

Check if the value passed to runJavascript callbacks are valid

The callback can be called during the destruction phase when, according
to documentation, it isn't safe to access the page or the view. When
this happens, the variant passed as argument to the callback is invalid.
Having the callback do nothing when this happens prevents crashes.


(cherry picked from commit c7231073)
parent 23e58a7d
Pipeline #591352 passed with stage
in 6 minutes and 15 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment