cleanup audio node

This commit is contained in:
Leon van Kammen 2024-12-10 14:35:39 +00:00
parent 9fc7d3c6f6
commit edfab56347
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ xrf.addEventListener('reset', () => {
if( n.media && n.media.audio ){
if( n.media.audio.stop ) n.media.audio.stop()
if( n.media.audio.remove ) n.media.audio.remove()
n.remove()
}
})
})