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:
parent
3217eaa416
commit
77f8e511e9
3 changed files with 11 additions and 6 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue