marinofaggiana 4 سال پیش
والد
کامیت
f97aee308f
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  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];