Signal-iOS/SignalServiceKit
Michelle Linington 1ddef2bc3a Fixes a leak in OWSURLSession
NSURLSession maintains a strong reference to its delegate and requires
explicit invalidation to clean up its state, otherwise it leaks memory.

This change introduces an proxy delegate for the underlying
NSURLSession. OWSURLSession retains the NSURLSession, NSURLSession
retains the proxy delegate.

The proxy delegate will retain the OWSURLSession and create a retain
cycle only while there are outstanding URLSessionTasks. Once all tasks
have been resolved, the cycle is broken and everything will be dealloced
(assuming no external references to the OWSURLSession still exist).
2021-01-23 10:38:41 -08:00
..
protobuf Add a preference for contact/profile avatars 2021-01-12 16:29:29 -08:00
Resources Refine handling of unverified safety number changes. 2021-01-21 22:31:08 -03:00
src Fixes a leak in OWSURLSession 2021-01-23 10:38:41 -08:00
tests Fix tests 2021-01-21 16:21:59 -08:00
Utilities Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -08:00
.clang-format Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
.gitignore Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
.travis.yml Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
CONTRIBUTING.md Update to the new GitHub organization name 2018-02-13 10:52:07 -05:00
LICENSE Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
README.md Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -08:00

SignalServiceKit

SignalServiceKit is an Objective-C library for communicating with the Signal messaging service for iOS & OS X

To use SignalServiceKit via CocoaPods add the following to your Podfile

pod 'SignalServiceKit', git: 'https://github.com/signalapp/Signal-iOS.git'