Selaa lähdekoodia

Fix runtime exception

(cherry picked from commit 1e0ecbd74a5f86e357f1e6603f283413b31a9067)
Felix Paul Kühne 9 vuotta sitten
vanhempi
commit
8253938b0f
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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;