You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi folks 👋
It appears that the observe method is leaking, even when self is properly weakified inside the trailing closure, unless I'm doing some silly things.
Hi @juliensagot, how exactly can I reproduce the problem? I've run the app, increment the counter, and I don't see any leaks:
Also, are you sure you are running the leaks instrument in DEBUG? Because the object that is showing up in your screenshot, LockIsolated, is only used in DEBUG mode:
Description
Hi folks 👋
It appears that the
observe
method is leaking, even whenself
is properly weakified inside the trailing closure, unless I'm doing some silly things.I've attached a sample macOS project where you can easily repro the issue:
TCAPerceptionLeakSampleProject.zip
Checklist
main
branch of this package.Expected behavior
No response
Actual behavior
No response
Steps to reproduce
Increment
buttonThe Composable Architecture version information
1.9.2
Destination operating system
14.4 (23E214)
Xcode version information
Version 15.3 (15E204a)
Swift Compiler version information
The text was updated successfully, but these errors were encountered: