Преглед на файлове

[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:
 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:
 * `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: