ZegoExpressEngine.instance.logoutRoom 莫名其妙抛出异常
Opened this issue · 0 comments
yanchunlan-ola commented
代码是 : await ZegoExpressEngine.instance?.logoutRoom()
destroy的时候调用了,但是莫名其妙抛出异常了???
[logoutRoom] Attempt to invoke virtual method 'void im.zego.zegoexpress.ZegoExpressEngine.logoutRoom(im.zego.zegoexpress.callback.IZegoRoomLogoutCallback)' on a null object reference