[bluetooth2] Avoid accessing static variables on different thread

RESOLVED FIXED

Status

defect
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: ben.tian, Assigned: ben.tian)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [webbt-api])

Attachments

(6 attachments)

Bug 1015826 avoids accessing static variables on different thread. The fix should be also applied on bluetooth2.
Whiteboard: [webbt-api]
Blocks: 1019376
Attachment #8433018 - Flags: review?(echou) → review+
Attachment #8433019 - Flags: review?(echou) → review+
Attachment #8433020 - Flags: review?(echou) → review+
Attachment #8433022 - Flags: review?(echou) → review+
Attachment #8433023 - Flags: review?(echou) → review+
Comment on attachment 8433026 [details] [diff] [review]
Patch 6/6 (v1): [bluetooth2] Dispatch part of DiscoveryChangedCallback to main thread

Review of attachment 8433026 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM.
Attachment #8433026 - Flags: review?(echou) → review+
Set 'checkin-needed' for patch 1 ~ 6.
Keywords: checkin-needed
Blocks: 1020300
Do you have a link to a recent Try push handy by chance? :)
Keywords: checkin-needed
The patches don't affect tpbl result since the affected files are not built yet. They are WIP files for new bluetooth API.
You need to log in before you can comment on or make changes to this bug.