This commit is contained in:
YangHua 2024-01-25 10:18:18 +08:00
parent ff9d662de6
commit 9c75c284cf
3 changed files with 3 additions and 2 deletions

View File

@ -463,7 +463,7 @@ public class GameManager : MonoSingleton<GameManager>
private void OnDisable()
{
Debug.Log("OnDisable");
Debug.Log("OnDisable GameManager");
Leaverroom();
}

View File

@ -134,7 +134,7 @@ public class UIBootstrap : MonoSingleton<UIBootstrap>
private void OnDisable()
{
Debug.Log("OnDisable");
Debug.Log("OnDisable UIBootstrap");
AdamSync.SyncCreateRoom.leaveRoomRequset -= OnLeaveRoomInfo;
string _msg = "leaveroom ";
_ = AdamSync.SyncCreateRoom.SendMessageAsync(_msg);

View File

@ -56,6 +56,7 @@ namespace AdamSync
private void OnDisable()
{
Debug.Log("1212");
SyncCreateRoom.CloseClint();
isLinkAgain = false;
}