implement webview.destroy