summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/connection_to_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/protocol/connection_to_client.cc')
-rw-r--r--remoting/protocol/connection_to_client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/protocol/connection_to_client.cc b/remoting/protocol/connection_to_client.cc
index 4cf331b..18943f4 100644
--- a/remoting/protocol/connection_to_client.cc
+++ b/remoting/protocol/connection_to_client.cc
@@ -36,14 +36,14 @@ protocol::Session* ConnectionToClient::session() {
return session_.get();
}
-void ConnectionToClient::Disconnect(ErrorCode error) {
+void ConnectionToClient::Disconnect() {
DCHECK(CalledOnValidThread());
CloseChannels();
// This should trigger OnConnectionClosed() event and this object
// may be destroyed as the result.
- session_->Close(error);
+ session_->Close();
}
void ConnectionToClient::OnInputEventReceived(int64_t timestamp) {