diff options
-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(); }]; }]; } |