Index: ios/crnet/CrNet.h |
diff --git a/ios/crnet/CrNet.h b/ios/crnet/CrNet.h |
index 01b091642682460355ccf4217ac8fc893099a80d..0be9b7769e0e9db2f12176e64cadb09e68e807a1 100644 |
--- a/ios/crnet/CrNet.h |
+++ b/ios/crnet/CrNet.h |
@@ -50,7 +50,11 @@ __attribute__((visibility("default"))) |
// Installs CrNet. Once installed, CrNet intercepts and handles all |
// NSURLConnection and NSURLRequests issued by the app, including UIWebView page |
-// loads. |
+// loads. It is recommended to call this method on the application main thread. |
+// If the method is called on any thread other than the main one, the method |
+// will internally try to execute synchronously using the main GCD queue. |
+// Please make sure that the main thread is not blocked by a job |
+// that calls this method; otherwise, a deadlock can occur. |
+ (void)install; |
// Installs CrNet into an NSURLSession, passed in by the caller. Note that this |