diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 638c5074..fe4c7d60 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 3.6.2 + +_Released 05/03/2022_ +### 🐞 Bug fixes + +- [Cocoa] Fix closing window + ## 3.6.1 _Released 16/02/2022_ diff --git a/docs/README.md b/docs/README.md index df013cdc..3b31c55f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -7,7 +7,7 @@ actionLink: /guide/ footer: BSD Licensed | Copyright © 2014–present Roman Sirokov ---
-Current version: 3.6.1
+Current version: 3.6.2
What's new
diff --git a/setup.py b/setup.py index 9c3a3c84..a1ca30a5 100644 --- a/setup.py +++ b/setup.py @@ -30,11 +30,11 @@ long_description=long_description, long_description_content_type='text/markdown', url='https://github.com/r0x0r/pywebview', - download_url='https://github.com/r0x0r/pywebview/archive/3.6.1.tar.gz', + download_url='https://github.com/r0x0r/pywebview/archive/3.6.2.tar.gz', keywords=['gui', 'webkit', 'html', 'web'], install_requires=install_requires, extras_require=extras_require, - version='3.6.1', + version='3.6.2', include_package_data=True, packages=['webview', 'webview.js', 'webview.platforms'], package_dir={'webview': 'webview'}, diff --git a/webview/platforms/cocoa.py b/webview/platforms/cocoa.py index 7e7be475..5a26b538 100755 --- a/webview/platforms/cocoa.py +++ b/webview/platforms/cocoa.py @@ -764,7 +764,7 @@ def should_close(window): msg = window.localization['global.quitConfirmation'] if not window.confirm_close or BrowserView.display_confirmation_dialog(quit, cancel, msg): - should_cancel = window.events.closing.set() + should_cancel = window.closing.set() if should_cancel: return Foundation.NO else: