[Nearby] Use SharedRemote with BT server socket
Previously the [Sync] mojo call to Accept was deadlocking. By switching over to a ShareRemote and using a deadicated task runner we can avoid the deadlock. ShareRemote is used to ensure the mojo is bound and run on the same sequence even though the remote is not actually shared. Fixed: 1133515 Change-Id: I44bc38ab8c3ddedcba02357c520d439ed7681c1b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2439775 Commit-Queue: James Vecore <vecore@google.com> Reviewed-by:Ryan Hansberry <hansberry@chromium.org> Cr-Commit-Position: refs/heads/master@{#812409}
Showing
Please register or sign in to comment