Fix macos memory leaks (#2739)

* Use a weak reference from WinitView to WinitWindow

* Allow patched objc2 version

* Add changelog entry
This commit is contained in:
Mads Marquart 2023-03-14 13:27:41 +03:00 committed by GitHub
parent 3217eaa416
commit 77f8e511e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 6 deletions

View file

@ -68,7 +68,7 @@ ndk = "0.7.0"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
core-foundation = "0.9.3"
objc2 = "=0.3.0-beta.3"
objc2 = ">=0.3.0-beta.3, <0.3.0-beta.4" # Allow `0.3.0-beta.3.patch-leaks`
[target.'cfg(target_os = "macos")'.dependencies]
core-graphics = "0.22.3"