Chromium Code Reviews
DescriptionFix race condition with multiplexed message pipes.
The problem was that if a MessagePipeDispatcher was connected to a RoutedRawChannel that had buffered messages to it. OnReadMessage would be called first which would tell the awakables that it's ready for read. But if the awakable called ReadMessage before GotNonTransferableChannel was called, then they wouldn't get any messages because channel_ was null.
BUG=561803
TEST=out/Debug/mojo_runner mojo:example_main --use-mus-in-renderer http://www.slashdot.org and then ctrl+n works
Committed: https://crrev.com/cba3547586790f12aa2cec55f140c87f7aca0c06
Cr-Commit-Position: refs/heads/master@{#365395}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||