Closed Slobodianiuk95 closed 3 months ago
Hi @Slobodianiuk95, this lock is only used in #if DEBUG
code and so the leak does not happen when building in release mode.
Since this is not an issue with the library I am going to convert it to a discussion. Feel free to continue the conversation over there!
Description
Hello! I discovered memory leaks using the Leaks tool while developing my own application. At first, I thought it was my mistake, but then I found the same memory leaks in the Todos and VoiceMemos examples. This happens from the start of the application and increases as it is used.
Checklist
main
branch of this package.Expected behavior
No leaks happend
Actual behavior
NSLock leaks in Xcode -> Instruments -> Leaks
Steps to reproduce
The Composable Architecture version information
1.10.4
Destination operating system
iOS 17.5
Xcode version information
Xcode 15.4
Swift Compiler version information