We are developing an UWP app. We use a WebView control which navigates to an youtube link, the issue is the video/sound from youtube doesn't stop after closing the WebView.
Is there any way to release a webview?
We are developing an UWP app. We use a WebView control which navigates to an youtube link, the issue is the video/sound from youtube doesn't stop after closing the WebView.
Is there any way to release a webview?
To stop sound you need to remove all references to your WebView and let GC to collect it. Removing it from layout and calling GC manually should do the trick immediately.