No connection attempts after the paired device's mDNS entry expired#74
Conversation
…ewer attempt Add a per-SKI generation counter so prepareConnectionInitation's defer only resets the flag when the callback belongs to the current attempt, preventing a stale callback from cancelling a legitimate reconnection.
|
To be fair, the analysis of the current implementation revealed some issues with stale timers and memory leaks. Nothing critical, but worth checking. I've now updated my pull request with some fixes and tests and would really appreciate it if you could have a look. Thank you. |
|
We actually discovered and looked into this issue independently early last week, I'm not sure the connectionAttemptGeneration is necessary. |
This is a simpler approach to #74
Hello,
this pull request tries to solve issue #73. I'd like to ask you to have a look and tell me what you think. Thank you very much.