DescriptionMojo: Don't do any work in ProxyMessagePipeEndpoint's destructor.
In particular, detach from the ChannelEndpoint earlier.
(The ChannelEndpoint has a pointer to the MessagePipe that owns the
ProxyMessagePipeEndpoint. It should always be valid. Detaching in the
ProxyMessagePipeEndpoint's destructor means that that pointer is
momentarily not really valid -- "not really" in that the memory still
exists, but it's in the middle of the MessagePipe's destruction.)
R=brettw@chromium.org
Committed: https://crrev.com/15235c63c9a50d40d31f766bd968feaa8c298876
Cr-Commit-Position: refs/heads/master@{#297673}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|