Closed Bug 1770002 Opened 2 years ago Closed 2 years ago

LSNG: Remove early initialization of RemoteLazyInputStreamThread

Categories

(Core :: Storage: localStorage & sessionStorage, task, P2)

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: janv, Assigned: janv)

Details

Attachments

(1 file)

Bug 1737828 removed the need to finish BackgroundChild::GetOrCreateForCurrentThread on the main thread. So the deadlock described in bug 1534208 shouldn't happen anymore when we initialize RemoteLazyInputStreamThread lazily (that is, only when we need it). Given that, it should be safe to revert the changes done in bug 1534208.
Besides simplified code, we might be creating one less thread when LS is not used by a content process and DOM blobs/files don't need it either.

Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/88a5bf648f2f
LSNG: Remove early initialization of RemoteLazyInputStreamThread; r=hsingh
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: