andriydruk / RxDNSSD

Android version of mDNSResponder
Apache License 2.0
298 stars 75 forks source link

🐛 Fix issues where a null service reference could be passed to listeners #217

Closed phatblat closed 2 years ago

phatblat commented 2 years ago

Fixes #215 and #216.

This change prevents passing a null service to BrowseListener.serviceFound() and ResolveListener.serviceResolved() by ensuring the services array contains a reference.