[CrOS PhoneHub] Call DisconnectFromEndpoint() when appropriate
When a NearbyConnectionBrokerImpl object is deleted, invoke DisconnectFromEndpoint() if a connection had been established during the lifetime of the object. Specifically, if OnConnectionInitiated() has been called but OnDisconnected() has not, we disconnect. Bug: 1149770, 1106937 Change-Id: I1c805475400d84d87092fbfafae20f0c48b7208c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2545670Reviewed-by:James Vecore <vecore@google.com> Commit-Queue: Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#828827}
Showing
Please register or sign in to comment