diff options
author | Justin Gluck <justin.gluck@livio.io> | 2019-04-11 12:43:44 -0400 |
---|---|---|
committer | Justin Gluck <justin.gluck@livio.io> | 2019-04-11 12:43:44 -0400 |
commit | 4e1081f44600d7a4eaa79f3c23f5f0668d5ecaaf (patch) | |
tree | e45aefa89f97ce00bbfb97001b42ea8b0f0c68ad | |
parent | d4a0e27d5e78a346893fb3a7fd2465a1598718cd (diff) | |
download | sdl_ios-bugfix/issue-1097-OnAppInterfaceUnregistered-Reconnecting.tar.gz |
Adding comment so devs dont move logic aroundbugfix/issue-1097-OnAppInterfaceUnregistered-Reconnecting
-rw-r--r-- | SmartDeviceLink/SDLProxy.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLProxy.m b/SmartDeviceLink/SDLProxy.m index f02f401dc..ecba6b97f 100644 --- a/SmartDeviceLink/SDLProxy.m +++ b/SmartDeviceLink/SDLProxy.m @@ -445,6 +445,7 @@ static float DefaultConnectionTimeout = 45.0; [self sdl_invokeDelegateMethodsWithFunction:functionName message:newMessage]; + //Intercepting SDLRPCFunctionNameOnAppInterfaceUnregistered must happen after it is broadcasted as a notification above. This will prevent reccoction attempts in the lifecycle manager when the AppInterfaceUnregisteredReason should prevent reconnections. if ([functionName isEqualToString:SDLRPCFunctionNameOnAppInterfaceUnregistered] || [functionName isEqualToString:SDLRPCFunctionNameUnregisterAppInterface]) { [self handleRPCUnregistered:dict]; } |