You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Darwin: Keep MTRCommissionableBrowser around until OnBleScanStopped (#33674)
* Darwin: Keep MTRCommissionableBrowser around until OnBleScanStopped
Because the BLE platform implementation uses a separate dispatch queue,
StopBleScan() does not synchrnously stop any further use of the current
BleScannerDelegate. Keep the MTRCommissionableBrowser that contains the
delegate alive until OnBleScanStopped to avoid a UAF.
* restyle
* Retain owner in Stop() instead of Start()
* More review comments
0 commit comments