Comments (2)
After looking into the source code, it seems that we don't need to stopServiceDiscovery it it didn't start.
In NsdManager
it calls removeListener before calling onStartDiscoveryFailed
on that listener.
BonsoirDiscoveryListener#onStartDiscoveryFailed
calls dispose
which calls NsdManager#stopServiceDiscovery
.
stopServiceDiscovery
tries to find the listener, but it is already removed, so it fails.
from bonsoir.
This seem to be confirmed by the NsdManager
docs.
from bonsoir.
Related Issues (20)
- Resolver cuts attribute keys to 9 characters HOT 1
- Getting the IP/address of BonsoirDiscoveryEvent HOT 3
- More pub points HOT 2
- Example page is not relevent HOT 1
- Crashes related to messages being sent from native to Flutter on non-platform thread HOT 4
- Customise hostname HOT 5
- IP Address Return HOT 3
- Crash when TXT record contains empty properties HOT 2
- java.net.SocketTimeoutException: Poll timed out leads to crash on android few seconds after discovering service HOT 6
- iOS cannot discover a host running on Windows HOT 7
- normalizeType error HOT 4
- Error Redeclaration: BonsoirService HOT 1
- Scan for all the mDNS devices in the network HOT 7
- How can I run this on native android? HOT 8
- Does not work for Flutter-Tizen project HOT 1
- [macOS/windows] Random crash when starting and stopping discovery HOT 8
- Specific characters are missing HOT 2
- Crashes on iOS caused by DNSServiceProcessResult HOT 2
- Broadcast on specific interface HOT 2
- java.util.ConcurrentModificationException is throwed by BonsoirServiceDiscovery.kt HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bonsoir.