解决关播闪退问题
This commit is contained in:
parent
fc7f949f7a
commit
b37d278ae4
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user