[Nearby] Synchronously construct service controller.
The service controller passed to ServiceControllerProxy was being initialized asynchronously, and could occasionally be passed into ServiceControllerProxy before being correctly initialized, causing a segfault once accessed. This CL changes that behavior to simply immediately initialize the service controller. Fixed: 1147293 Change-Id: Ie4e396706b5477befca47805c8984c697a814bcd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2527633Reviewed-by:James Vecore <vecore@google.com> Reviewed-by:
Kyle Horimoto <khorimoto@chromium.org> Commit-Queue: Ryan Hansberry <hansberry@chromium.org> Cr-Commit-Position: refs/heads/master@{#825958}
Showing
Please register or sign in to comment