소스 검색

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;