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:
parent
95b5c8a905
commit
6c35387b8d
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue