diff options
| author | Roshan Pius <rpius@google.com> | 2017-03-09 13:09:49 -0800 |
|---|---|---|
| committer | Roshan Pius <rpius@google.com> | 2017-03-09 23:22:09 +0000 |
| commit | 46b6454d2f23936677a57cc37a0ccffeff41a185 (patch) | |
| tree | 2420adc8c4b033c594ccd542580f384751ea7e23 /bluetooth | |
| parent | 3819e4193e5ffd869c92a83a2adf29d5ada146fb (diff) | |
| download | android_hardware_interfaces-46b6454d2f23936677a57cc37a0ccffeff41a185.tar.gz android_hardware_interfaces-46b6454d2f23936677a57cc37a0ccffeff41a185.tar.bz2 android_hardware_interfaces-46b6454d2f23936677a57cc37a0ccffeff41a185.zip | |
wifi(implementation): Move out clearing on stop complete
Currently, we invoke WifiLegacyHal.invalidate() inside the
|on_stop_complete_internal_callback| std::function. |invalidate|
nulls out |on_stop_complete_internal_callback| inside it which might be
considered a violation since we're deleting the std::function object
as we're executing it.
Bug: 36095153
Test: Compiles, start/stop wifi multiple times.
Test: Verified that a crash is not seen in asan build.
Change-Id: If83c1cbee78a1b6eca12686fcc1ec1de67134f13
Diffstat (limited to 'bluetooth')
0 files changed, 0 insertions, 0 deletions
