3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-26 21:15:28 +02:00

also fix DEV-2083

This commit is contained in:
Brad Davis 2019-10-14 10:56:23 -07:00
parent 95b5c8a905
commit 6c35387b8d

View file

@ -36,6 +36,8 @@ Item {
// Ensure we reset any existing item to "about:blank" to ensure web audio stops: DEV-2375
if (root.item != null) {
root.item.url = "about:blank"
root.item.destroy()
root.item = null
}
QmlSurface.load("./controls/WebView.qml", root, function(newItem) {
root.item = newItem