Skip to content

Commit 1697c41

Browse files
authored
Add binding for Terminate method (#58)
Thank you for the contribution :)
1 parent a321589 commit 1697c41

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/SharpWebview/Webview.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@ public IntPtr GetWindow()
187187
return Bindings.webview_get_window(_nativeWebview);
188188
}
189189

190+
/// <summary>
191+
/// Terminates the webview.
192+
/// </summary>
193+
public void Terminate()
194+
{
195+
Bindings.webview_terminate(_nativeWebview);
196+
}
197+
190198
/// <summary>
191199
/// Disposes the current webview.
192200
/// </summary>

0 commit comments

Comments
 (0)