summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Gluck <justin.gluck@livio.io>2019-04-03 13:09:52 -0400
committerJustin Gluck <justin.gluck@livio.io>2019-04-03 13:09:52 -0400
commit47486f5ad799407370ff429d3cc98784a12ebb50 (patch)
treec73ae44435bc6ced24a7da4707e43f219a692099
parent79d1360a764961e0ce1d415b76a9dd5bde43a5f4 (diff)
downloadsdl_ios-47486f5ad799407370ff429d3cc98784a12ebb50.tar.gz
-rw-r--r--SmartDeviceLink/SDLLifecycleManager.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/SmartDeviceLink/SDLLifecycleManager.h b/SmartDeviceLink/SDLLifecycleManager.h
index 3febcae24..45cc0736b 100644
--- a/SmartDeviceLink/SDLLifecycleManager.h
+++ b/SmartDeviceLink/SDLLifecycleManager.h
@@ -105,16 +105,14 @@ typedef void (^SDLManagerReadyBlock)(BOOL success, NSError *_Nullable error);
/**
* Start the manager, which will tell it to start looking for a connection. Once one does, it will automatically run the setup process and call the readyBlock when done.
- *
+* @warning If you call this method from SDLManager's `startWithReadyHandler` be sure to wrap the `stop` call inside a dispatch_async and send it to the main queue or a global queuee, otherwise calling `stop` may cause a deadlock.
* @param readyHandler The block called when the manager is ready to be used or an error occurs while attempting to become ready.
-
- * @warning If you call this method from SDLManager's startWithReadyHandler be sure to wrap the stop call inside a dispatch_async and call it from the main queue or a global queue and call stop from there, otherwise calling stop may crete a deadlock.
*/
- (void)startWithReadyHandler:(SDLManagerReadyBlock)readyHandler;
/**
* Stop the manager, it will disconnect if needed and no longer look for a connection. You probably don't need to call this method ever.
- * @warning If you call this method from SDLManager's startWithReadyHandler be sure to wrap the stop call inside a dispatch_async and call it from the main queue or a global queue and call stop from there, otherwise calling stop may crete a deadlock.
+ * @warning If you call this method from SDLManager's `startWithReadyHandler` be sure to wrap the `stop` call inside a dispatch_async and send it to the main queue or a global queuee, otherwise calling `stop` may cause a deadlock.
*/
- (void)stop;