diff --git a/common/src/main/java/com/yunbao/common/views/weight/LiveFloatView.java b/common/src/main/java/com/yunbao/common/views/weight/LiveFloatView.java index fe5286d6e..70261c186 100644 --- a/common/src/main/java/com/yunbao/common/views/weight/LiveFloatView.java +++ b/common/src/main/java/com/yunbao/common/views/weight/LiveFloatView.java @@ -91,7 +91,7 @@ public class LiveFloatView implements Function1 { public void onViewClicks() { mPlayer.stopPlay(); APPEasyFloat.getInstance().dismiss(mContext); - if (IMLoginManager.get(mContext).isHint2()) { + if (IMLoginManager.get(mContext).isHint2()&& !((FragmentActivity) mContext).getSupportFragmentManager().isDestroyed()) { HintDialog fragment = new HintDialog(); Bundle args = new Bundle(); args.putString("close", "1");