Steven il y a 10 mois
Parent
commit
80d4610f94

+ 5 - 1
KulexiuForTeacher/KulexiuForTeacher/Common/LoadingManager/KSHudLoagingManager.m

@@ -47,7 +47,11 @@
 }
 
 - (void)removeCustomLoading {
-    [self.loadingView hideLoadingView];
+    dispatch_main_async_safe(^{
+        if (self->_loadingView) {
+            [self.loadingView hideLoadingView];
+        }
+    });
 }