void OnDestroy() { if (mServer != null) { mServer.Shutdown(); } if (mClient != null) { mClient.Shutdown(); } }