From b37d278ae43fb9296e4bdab1a91bef22d7313726 Mon Sep 17 00:00:00 2001 From: Martin <13046765170@163.com> Date: Mon, 29 Jul 2024 13:28:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=85=B3=E6=92=AD=E9=97=AA?= =?UTF-8?q?=E9=80=80=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/live/activity/LiveActivity.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/activity/LiveActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveActivity.java index 1ba93ce68..4e5e7d611 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveActivity.java @@ -1759,7 +1759,6 @@ public abstract class LiveActivity extends AbsActivity implements SocketMessageL protected void release() { EventBus.getDefault().unregister(this); LiveHttpUtil.cancel(LiveHttpConsts.SEND_DANMU); - LoadDian9TuUtil.clearBitmap(); if (mKeyBoardHeightUtil != null) { mKeyBoardHeightUtil.release(); } @@ -1808,6 +1807,11 @@ public abstract class LiveActivity extends AbsActivity implements SocketMessageL Constants.isSend = "0"; } + private void claerBitmap(){ + LoadDian9TuUtil.clearBitmap(); + } + + /** * 显示个人资料弹窗 */ @@ -1865,6 +1869,7 @@ public abstract class LiveActivity extends AbsActivity implements SocketMessageL @Override protected void onDestroy() { release(); + claerBitmap(); super.onDestroy(); }