Skip to content

Commit

Permalink
Remove event handler for NetworkChange.NetworkAddressChanged
Browse files Browse the repository at this point in the history
  • Loading branch information
schotime committed Jun 5, 2021
1 parent b9f2f81 commit e78234b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MulticastService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ public void Stop()
QueryReceived = null;
AnswerReceived = null;
NetworkInterfaceDiscovered = null;
NetworkChange.NetworkAddressChanged -= OnNetworkAddressChanged;

// Stop current UDP listener
client?.Dispose();
Expand Down

0 comments on commit e78234b

Please sign in to comment.