Closed Bug 669363 Opened 15 years ago Closed 15 years ago

Pref service should assert/abort if used off the main thread

Categories

(Core :: Preferences: Backend, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 619487

People

(Reporter: jdm, Unassigned)

Details

Attachments

(1 file)

It's too easy to let non-main thread pref usage slip into the tree. We should shout really loudly if this happens, since it can cause crashes.
I thought we had asserts for this at some point (and took them out?).
(In reply to comment #2) > I thought we had asserts for this at some point (and took them out?). Why would we remove them?
Because they were preventing daily use of the browser. Again, if I'm recalling correctly... maybe it wasn't the pref service.
Oh yes, I now remember the whole hoopla in bug 580790.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: