Open Bug 1846193 Opened 1 year ago Updated 1 year ago

Add assertion to Task::AddDependency to avoid freeing main-thread-only task off main thread

Categories

(Core :: XPCOM, enhancement, P3)

enhancement

Tracking

()

ASSIGNED

People

(Reporter: arai, Assigned: arai)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

(see bug 1839103 for more details)

Currently main-thread-only task is freed only on main thread, but it's not the case if there's an off-main-thread-only task that depends on the main-thread-only task.
For now, I'll add an assertion to Task::AddDependency to avoid such situation.

If such situation occurs, then we need to look into bug 1839103.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: