/// <summary> /// Close the emulated listener. /// </summary> public void Dispose() { lock (abortedLock) { aborted = true; } LocalHostName = null; if (relay != null) { relay.Dispose(); relay = null; } Domain = null; secretKey = null; }