fix:修复一处空指针异常
This commit is contained in:
parent
ec8e258e45
commit
50e5dbfeca
@ -1371,6 +1371,9 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
* 退出直播间
|
||||
*/
|
||||
public void exitLiveRoom() {
|
||||
if(mLiveBean==null) {
|
||||
return;
|
||||
}
|
||||
RongChatRoomClient.getInstance().quitChatRoom("g" + mLiveBean.getUid(), new IRongCoreCallback.OperationCallback() {
|
||||
@Override
|
||||
public void onSuccess() {
|
||||
|
Loading…
Reference in New Issue
Block a user