Chromium Code Reviews| Index: content/common/child_thread.cc |
| =================================================================== |
| --- content/common/child_thread.cc (revision 144915) |
| +++ content/common/child_thread.cc (working copy) |
| @@ -70,11 +70,6 @@ |
| channel_->RemoveFilter(sync_message_filter_.get()); |
| - // Close this channel before resetting the message loop attached to it so |
| - // the message loop can call ChannelProxy::Context::OnChannelClosed(), which |
| - // releases the reference count to this channel. |
| - channel_->Close(); |
|
cpu_(ooo_6.6-7.5)
2012/07/09 05:14:11
dang. If I've seen this before...
|
| - |
| // The ChannelProxy object caches a pointer to the IPC thread, so need to |
| // reset it as it's not guaranteed to outlive this object. |
| // NOTE: this also has the side-effect of not closing the main IPC channel to |