-
-
Notifications
You must be signed in to change notification settings - Fork 15
Labels
Description
Multiple simultaneous calls to connect() on the same NetworkManager instance could interfere with each other.
If two tasks try to connect to different networks simultaneously, they might both try to disconnect the device, race on activation or interfere with each other's state monitoring.
Some of the things I'm thinkig of:
- Add internal mutex/lock for connection operations
- Consider adding a
is_connecting()method
We should probably add documentation for now that concurrent connections are not supported since I don't think I'm gonna tackle this quite yet.
Reactions are currently unavailable