diff --git a/common/src/main/java/com/yunbao/common/views/LiveSudGamePopup.java b/common/src/main/java/com/yunbao/common/views/LiveSudGamePopup.java index 72c05b779..237fb0490 100644 --- a/common/src/main/java/com/yunbao/common/views/LiveSudGamePopup.java +++ b/common/src/main/java/com/yunbao/common/views/LiveSudGamePopup.java @@ -154,14 +154,14 @@ public class LiveSudGamePopup extends BottomPopupView { private void initDate() { } - - @Override - protected void onDismiss() { + public void BusGetOff(){ Bus.getOff(this); - - super.onDismiss(); } + @Override + public void dismiss() { + super.dismiss(); + } @Subscribe(threadMode = ThreadMode.MAIN) public void onHideShow(HideShowEvent event) { diff --git a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java index d3501ad08..5f95834a0 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java @@ -1743,7 +1743,9 @@ public class LiveAudienceActivity extends LiveActivity { break; case 2: if (liveSudGamePopupXPopup != null) { + liveSudGamePopupXPopup.BusGetOff(); liveSudGamePopupXPopup.dialog.dismiss(); + liveSudGamePopupXPopup = null; } break;