summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2018-05-15 14:12:05 -0400
committerJoel Fischer <joeljfischer@gmail.com>2018-05-15 14:12:05 -0400
commitcd21538b3802069937b9354305a4114e37c6c690 (patch)
treecd62daefb6c71db91a9ebe1f642dc6ed5b270313
parente7a6fc4390e5f5ab31fa350668e09858aeb3bcf3 (diff)
downloadsdl_ios-cd21538b3802069937b9354305a4114e37c6c690.tar.gz
Fix stopping the permission manager should clear permissions
-rw-r--r--SmartDeviceLink/SDLPermissionManager.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLPermissionManager.m b/SmartDeviceLink/SDLPermissionManager.m
index f07d4b24f..08c37eebe 100644
--- a/SmartDeviceLink/SDLPermissionManager.m
+++ b/SmartDeviceLink/SDLPermissionManager.m
@@ -55,7 +55,9 @@ NS_ASSUME_NONNULL_BEGIN
}
- (void)stop {
- // Nothing to do here right now
+ _permissions = [NSMutableDictionary<SDLPermissionRPCName, SDLPermissionItem *> dictionary];
+ _filters = [NSMutableArray<SDLPermissionFilter *> array];
+ _currentHMILevel = nil;
}