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 830d1e5f4..6619e8853 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 @@ -167,7 +167,7 @@ public class LiveFloatView implements Function1 { public void onViewClicks() { mPlayer.stopPlay(); EasyFloat.dismiss("LiveFloatView", true); - 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");