Browse Source

Fix runtime exception

(cherry picked from commit 1e0ecbd74a5f86e357f1e6603f283413b31a9067)
Felix Paul Kühne 9 years ago
parent
commit
8253938b0f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Sources/VLCOneDriveController.m

+ 2 - 0
Sources/VLCOneDriveController.m

@@ -188,6 +188,8 @@
 
 - (void)downloadObject:(VLCOneDriveObject *)object
 {
+    if (object == nil)
+        return;
     if (object.isFolder)
         return;