Closed chrisamanse closed 6 years ago
Good catch @chrisamanse. Can you fix the merge conflict? If so, we'll get this in.
Fixed merge conflict
All the macOS builds (for all projects) seem to be failing on Tavis at the moment. I'll merge this once that's fixed and we can get a clean build through.
We finally got Travis to complete a macOS build. Merging.
Use
defer
statement to deallocatereadBuffer
pointer. Currently, it will not be deallocated whentry strongSelf.socket?.socketRead(into: &readBuffer, maxLength:maxLength)
fails, thus causing a memory leak.