[Nearby] Store callback in FastInitiationManager to fix crash.
FastInitiationManager causes a crash when StopAdvertising() is called because we move the callback parameter twice. This fixes the issue by storing the callback as an instance variable. Bug: 1145850 Change-Id: I5d5f305b558e60e55d0df248305c6da03e15378e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521837Reviewed-by:Ryan Hansberry <hansberry@chromium.org> Commit-Queue: Michael Hansen <hansenmichael@google.com> Cr-Commit-Position: refs/heads/master@{#824603}
Showing
Please register or sign in to comment