Chromium Code Reviews| Index: remoting/protocol/pepper_session.cc |
| diff --git a/remoting/protocol/pepper_session.cc b/remoting/protocol/pepper_session.cc |
| index cb039deb19821f5c1dc280e928a9d707503cf0fc..3a351a3fa34bcb18ddd2d2cead18ccf4d79cff40 100644 |
| --- a/remoting/protocol/pepper_session.cc |
| +++ b/remoting/protocol/pepper_session.cc |
| @@ -191,6 +191,8 @@ const std::string& PepperSession::shared_secret() { |
| void PepperSession::Close() { |
| DCHECK(CalledOnValidThread()); |
| + state_change_callback_.Reset(); |
|
Wez
2011/11/09 02:32:22
nit: Clarify that we do this to meet the no-more-c
Sergey Ulanov
2011/11/09 21:24:00
Done.
|
| + |
| if (state_ == CONNECTING || state_ == CONNECTED || |
| state_ == CONNECTED_CHANNELS) { |
| // Send session-terminate message. |