소스 검색

[Issue #681] Added note to the README to keep a reference to the manager.

Christian Noon 10 년 전
부모
커밋
9a1e321cf0
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -978,6 +978,8 @@ let manager = Manager(
 )
 ```
 
+> Make sure to keep a reference to the new `Manager` instance, otherwise your requests will all get cancelled when your `manager` is deallocated.
+
 These server trust policies will result in the following behavior:
 
 * `test.example.com` will always use certificate pinning with certificate chain and host validation enabled thus requiring the following criteria to be met to allow the TLS handshake to succeed: