Skip to content

[Client.cs] ClientServiceEvent issue #4

@Giganoid

Description

@Giganoid

In the Client.cs i've found an issue, that happens on my computer after some hours of using.

In the Method "ClientServiceEvent" sometimes "args.Service" is "null" without a obvious reason. Actually i bypass this error without a deeper understanding. ^^

[code]
...
} else if (args.Usn.Contains (":service:")) {
//Change
if (args.Service != null) {
var type = ServiceType.Parse(args.Service.ServiceType);
var service = new ServiceAnnouncement(this, type, usn, args.Service.Locations);
serviceHandler(service);
}
}
[/code]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions