// Application Quit void OnApplicationQuit() { if (null != m_client && Application.platform == RuntimePlatform.WindowsWebPlayer) { Debug.LogWarning("Close=========10"); m_client.close(); m_client = null; } }