Chromium Code Reviews| Index: remoting/protocol/connection_to_client.cc |
| diff --git a/remoting/protocol/connection_to_client.cc b/remoting/protocol/connection_to_client.cc |
| index 4810d27e2dd7c5f8dc0f3adc229a435d1a05425a..e407c6890878e03eb898ae719b8c0ae1cece0cc9 100644 |
| --- a/remoting/protocol/connection_to_client.cc |
| +++ b/remoting/protocol/connection_to_client.cc |
| @@ -59,10 +59,8 @@ void ConnectionToClient::Disconnect() { |
| CloseChannels(); |
| // If there is a channel then close it and release the reference. |
|
Wez
2011/07/06 21:24:25
nit: Update this comment, e.g. "... release it, ca
Sergey Ulanov
2011/07/06 23:15:01
Done.
|
| - if (session_.get()) { |
| - session_->Close(); |
| + if (session_.get()) |
| session_.reset(); |
| - } |
| } |
| void ConnectionToClient::UpdateSequenceNumber(int64 sequence_number) { |