Are there any known memory leaks in the Network framework? When using the start function on NWConnection
I find a small leak appear every time (see attached image). I am using it for websockets
Memory leak in Network.framework
Are there any known memory leaks in the Network framework?
Well, there will be once you file a bug about this one (-:
Seriously though, if you can reliably reproduce a leak, as shown by the Leaks instrument, and:
-
You’re using Swift
-
Or using a C-based language with ARC
-
And not going out of your way to break the memory management rules
then that’s either a bug in the OS or a bug in the Leaks instrument.
Please post your bug number, just for the record.
ps It’d help if you attached a small test project that demonstrates the leak and a saved Instrument trace of the leak in action.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"