public void UnLoad() { if (instance == null) { return; } Phone.GetInstance(null).UnRegisterToCore(); MessageClient.GetInstance(null).UnRegisterToCore(); m_core.exit(); m_core.Dispose(); DestoryInstance(); }