diff options
author | NicoleYarroch <nicole@livio.io> | 2020-04-14 15:07:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-14 15:07:25 -0400 |
commit | ae516457b9ca8520a809653bbe066f4509151cf1 (patch) | |
tree | b8e84dee86008586aa20825dc98967ccca305036 | |
parent | 52762b25036125a4d0edaa839a2c8480c9069dc5 (diff) | |
download | sdl_ios-ae516457b9ca8520a809653bbe066f4509151cf1.tar.gz |
Apply suggestions from code review
Co-Authored-By: Joel Fischer <joeljfischer@gmail.com>
-rw-r--r-- | SmartDeviceLink/SDLSecondaryTransportManager.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLSecondaryTransportManager.m b/SmartDeviceLink/SDLSecondaryTransportManager.m index 16eefffc0..0c7adad36 100644 --- a/SmartDeviceLink/SDLSecondaryTransportManager.m +++ b/SmartDeviceLink/SDLSecondaryTransportManager.m @@ -722,6 +722,7 @@ struct TransportProtocolUpdated { SDLLogV(@"No cleanup needed since manager has been stopped."); return NO; } else { + // `endBackgroundTask` will be called when the secondary transport disconnects. SDLLogD(@"Performing cleanup due to the background task expiring: disconnecting the TCP transport."); [strongSelf.stateMachine transitionToState:SDLSecondaryTransportStateConfigured]; return YES; |