Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: now it's safe to call BroadcastAcceptor::stop twice
`std::net::addr::SocketAddr::recv_from` is used to wait for the other thread to finish cleanly. The problem is that the `crust_peer` example calls `ConnectionManager::stop` twice and `BroadcastAcceptor::stop` doesn't handle "double stop correctly". This commit avoids unnecessary and buggy calls to `beacon::BroadcastAcceptor::stop`. Fixes maidsafe-archive#141
- Loading branch information