From 0141c61bec1d2f78cf9765c93a69f77dd7cb1c2c Mon Sep 17 00:00:00 2001 From: Simon Robinson Date: Wed, 6 Nov 2024 19:33:00 +0000 Subject: [PATCH] Fix typo in `abortModal` call --- webview/platforms/cocoa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webview/platforms/cocoa.py b/webview/platforms/cocoa.py index 245538ad..ce56cfba 100644 --- a/webview/platforms/cocoa.py +++ b/webview/platforms/cocoa.py @@ -106,7 +106,7 @@ def windowWillClose_(self, notification): i.closed.set() if BrowserView.instances == {}: BrowserView.app.stop_(self) - BrowserView.app.abortModal_() + BrowserView.app.abortModal() def windowDidResize_(self, notification): i = BrowserView.get_instance('window', notification.object())