marinofaggiana 4 tahun lalu
induk
melakukan
f97aee308f
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      iOSClient/Main/CCMain.m

+ 2 - 0
iOSClient/Main/CCMain.m

@@ -1573,6 +1573,8 @@
 
 - (void)reloadDatasourceTransfer:(NSNotification *)notification
 {
+    if (self.view.window == nil) { return; }
+    
     NSDictionary *userInfo = notification.userInfo;
     tableMetadata *metadata = userInfo[@"metadata"];
     NSInteger errorCode = [userInfo[@"errorCode"] integerValue];