diff --git a/main/src/main/java/com/yunbao/main/activity/LoginActivity.java b/main/src/main/java/com/yunbao/main/activity/LoginActivity.java index 741954eaa..f50dff2fa 100644 --- a/main/src/main/java/com/yunbao/main/activity/LoginActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/LoginActivity.java @@ -321,7 +321,9 @@ public class LoginActivity extends AbsActivity { } else { MainActivity.forward(LoginActivity.this, false); } - loadingDialog.dismiss(); + if(loadingDialog!=null){ + loadingDialog.dismiss(); + } finish(); }