Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added using of NetworkChange.NetworkAddressChanged instead of Timer #36

Closed
wants to merge 1 commit into from
Closed

Added using of NetworkChange.NetworkAddressChanged instead of Timer #36

wants to merge 1 commit into from

Conversation

eshvatskyi
Copy link
Contributor

Fixed AnswersContainsAdditionalRecords functionality

Fixed AnswersContainsAdditionalRecords functionality
@richardschneider
Copy link
Owner

It's failing on MAC OS X, see the CI build

NetworkInterfaceDiscovered?.Invoke(this, new NetworkInterfaceEventArgs
{
NetworkInterfaces = newNics
});
}

NetworkChange.NetworkAddressChanged -= OnNetworkAddressChanged;
NetworkChange.NetworkAddressChanged += OnNetworkAddressChanged;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why removing then adding again?

@@ -592,11 +567,10 @@ async void Listener()
// eat the exception
}

receiver.Dispose();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the receiver be disposed?

mdns.NetworkInterfaceDiscovered += (s, e) =>
{
sd.QueryServiceInstances(service.ServiceName);
};
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should not be changing the existing tests. This implies a breaking change.

@eshvatskyi eshvatskyi closed this Nov 12, 2018
@eshvatskyi eshvatskyi deleted the milticast-nac-events branch November 12, 2018 12:23
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants