public void Destroy() { m_oSyncEngine.exitSync(); stop(SYNC_WAIT_BEFOREKILL_SECONDS); if (ClientRegister.getInstance() != null) ClientRegister.getInstance().Destroy(); DBAdapter.closeAll(); m_pInstance = null; }