From e78234bf437eed0b60171091396f103788ce3d13 Mon Sep 17 00:00:00 2001 From: Adam Schroder Date: Sat, 5 Jun 2021 14:20:58 +1000 Subject: [PATCH] Remove event handler for NetworkChange.NetworkAddressChanged --- src/MulticastService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MulticastService.cs b/src/MulticastService.cs index d39491b..7b54516 100644 --- a/src/MulticastService.cs +++ b/src/MulticastService.cs @@ -267,6 +267,7 @@ public void Stop() QueryReceived = null; AnswerReceived = null; NetworkInterfaceDiscovered = null; + NetworkChange.NetworkAddressChanged -= OnNetworkAddressChanged; // Stop current UDP listener client?.Dispose();