Open Bug 1743362 Opened 2 years ago Updated 2 years ago

Investigate if WillDestroyCurrentMessageLoop is doing what we expect on Windows

Categories

(Core :: IPC, task)

task

Tracking

()

People

(Reporter: jstutte, Unassigned)

References

(Blocks 1 open bug)

Details

See bug 1730374 comment 57:

Hmm, are we sure that WillDestroyCurrentMessageLoop ever does what we expect it to do? The message we print is only conditional with an #ifdef and the existence of the process_ handle, but I see it appearing in the logs I looked at only when we actually block.
We call WillDestroyCurrentMessageLoop only if we had a DestructionObserver registered. So my doubt would be that the normal flow unregisters that observer before we get into MessageLoop::~MessageLoop and that if we get here with a registered observer we always block?

A first step could be to add also a debug message on success to be sure we know where we hang.

See Also: → 1730374
You need to log in before you can comment on or make changes to this bug.