Closed Bug 1028381 Opened 6 years ago Closed 6 years ago

Initialize nsThreadManager early in Child processes, as NS_IsMainThread lies until it is initialized

Categories

(Core :: XPCOM, defect)

Other Branch
defect
Not set

Tracking

()

RESOLVED INVALID

People

(Reporter: bjacob, Unassigned)

References

Details

Attachments

(1 file)

No description provided.
Attachment #8443704 - Flags: review?(benjamin)
Blocks: 1028383
This is needed for bug 1028383 which adds assertions on NS_IsMainThread, some of which running during child process startup.
Comment on attachment 8443704 [details] [diff] [review]
Initialize nsThreadManager early in Child processes

This will run even in plugin processes which shouldn't have a nsThreadManager (because they don't use XPCOM).
Attachment #8443704 - Flags: review?(benjamin) → review-
Thanks. Filed bug 1033358 with a better approach.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.