From 6aa44c5aa38eaed16549ce188184ca3667f6303f Mon Sep 17 00:00:00 2001 From: JustAman62 Date: Fri, 14 Nov 2025 20:39:32 +0000 Subject: [PATCH] Add binding for Terminate method --- src/SharpWebview/Webview.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/SharpWebview/Webview.cs b/src/SharpWebview/Webview.cs index 47fb772..8631026 100644 --- a/src/SharpWebview/Webview.cs +++ b/src/SharpWebview/Webview.cs @@ -187,6 +187,14 @@ public IntPtr GetWindow() return Bindings.webview_get_window(_nativeWebview); } + /// + /// Terminates the webview. + /// + public void Terminate() + { + Bindings.webview_terminate(_nativeWebview); + } + /// /// Disposes the current webview. ///