浏览代码

Fix runtime exception

(cherry picked from commit 1e0ecbd74a5f86e357f1e6603f283413b31a9067)
Felix Paul Kühne 9 年之前
父节点
当前提交
8253938b0f
共有 1 个文件被更改,包括 2 次插入0 次删除
  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;