解决关播闪退问题

This commit is contained in:
Martin 2024-07-29 13:28:50 +08:00
parent fc7f949f7a
commit b37d278ae4

View File

@ -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();
}