diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-08-04 13:25:49 -0700 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-08-04 13:25:49 -0700 |
commit | 543edb25a7a04649a0b2d86f9740ed2d916ebc58 (patch) | |
tree | 96ba7b1f1f29b0b8998aca937598c2a44b03320b | |
parent | 8be44abbc674e23d0efa7e9a3a3ee35497218ea6 (diff) | |
download | sdl_ios-543edb25a7a04649a0b2d86f9740ed2d916ebc58.tar.gz |
Proper handling of stoping security managers when the proxy disconnects.
-rw-r--r-- | SmartDeviceLink/SDLProxy.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLProxy.m b/SmartDeviceLink/SDLProxy.m index 4be971207..199f33694 100644 --- a/SmartDeviceLink/SDLProxy.m +++ b/SmartDeviceLink/SDLProxy.m @@ -121,6 +121,10 @@ const int POLICIES_CORRELATION_ID = 65535; if (self.transport != nil) { [self.transport disconnect]; } + + if (self.protocol.securityManager != nil) { + [self.protocol.securityManager stop]; + } [self destructObjects]; } |