public void onAppClose() { Debug.Log("GamePotEventListener::onAppClose()"); if (cbLogin != null) { cbLogin(NCommon.ResultLogin.APP_CLOSE, null, null); cbLogin = null; } else { if (GamePotInterface != null) { GamePotInterface.onAppClose(); } } }