diff options
Diffstat (limited to 'SmartDeviceLink/SDLFileManager.m')
-rw-r--r-- | SmartDeviceLink/SDLFileManager.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLFileManager.m b/SmartDeviceLink/SDLFileManager.m index a74faf046..0296bffb6 100644 --- a/SmartDeviceLink/SDLFileManager.m +++ b/SmartDeviceLink/SDLFileManager.m @@ -196,6 +196,7 @@ SDLFileManagerState *const SDLFileManagerStateStartupError = @"StartupError"; - (void)deleteRemoteFileWithName:(SDLFileName *)name completionHandler:(nullable SDLFileManagerDeleteCompletionHandler)handler { if ((![self.remoteFileNames containsObject:name]) && (handler != nil)) { handler(NO, self.bytesAvailable, [NSError sdl_fileManager_noKnownFileError]); + return; } __weak typeof(self) weakSelf = self; |