ipc: Make sure that ChannelReader is destroyed correctly.
commit53d919d2be1e9ef8e1b728efcc4f18351235d67f
authorerikchen <erikchen@chromium.org>
Fri, 11 Sep 2015 17:33:34 +0000 (11 10:33 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 11 Sep 2015 17:34:12 +0000 (11 17:34 +0000)
tree2febf7fc4d3b4bde1b2de277beaa17888d0cee06
parent2699c65a2389274c7fb9c49703045f92ae194639
ipc: Make sure that ChannelReader is destroyed correctly.

ChannelReader observes the attachment broker, which it gets from a subclass.
Before the subclass is destroyed, ChannelReader must stop observing the
attachment broker.

BUG=493414

Review URL: https://codereview.chromium.org/1321803003

Cr-Commit-Position: refs/heads/master@{#348421}
ipc/ipc_channel_nacl.cc
ipc/ipc_channel_posix.cc
ipc/ipc_channel_reader.cc
ipc/ipc_channel_reader.h
ipc/ipc_channel_win.cc