diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2021-04-16 11:30:48 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2021-04-16 11:30:48 -0400 |
commit | 012eac0ca2c2d273b6e8e04ca615991537d72ae8 (patch) | |
tree | 098feb25db006d6c3b15022972cea0e330647b8f | |
parent | 298392eba11f19a0096ab00c8c45bb442810e83b (diff) | |
download | sdl_ios-bugfix/issue-1966-rpc-encryption-crash.tar.gz |
Style fixesbugfix/issue-1966-rpc-encryption-crash
-rw-r--r-- | SmartDeviceLink/private/SDLLifecycleManager.m | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/SmartDeviceLink/private/SDLLifecycleManager.m b/SmartDeviceLink/private/SDLLifecycleManager.m index 37bdb868d..b3c205b9e 100644 --- a/SmartDeviceLink/private/SDLLifecycleManager.m +++ b/SmartDeviceLink/private/SDLLifecycleManager.m @@ -651,8 +651,7 @@ NSString *const BackgroundTaskTransportName = @"com.sdl.transport.backgroundTask SDLLogW(@"Failed to upload app icon: A file with this name already exists on the system"); } else { SDLLogW(@"Unexpected error uploading app icon: %@", error); - completion(); - return; + return completion(); } } @@ -666,8 +665,7 @@ NSString *const BackgroundTaskTransportName = @"com.sdl.transport.backgroundTask SDLLogW(@"Error setting up app icon: %@", error); } - // We've succeeded or failed - completion(); + return completion(); }]; }]; } |