| Index: webrtc/p2p/base/port.cc
|
| diff --git a/webrtc/p2p/base/port.cc b/webrtc/p2p/base/port.cc
|
| index d6bc27ba023bdf156dd8dd0aeca87f07a355a880..842a26e8260df55b740eed7527c13a22698a7309 100644
|
| --- a/webrtc/p2p/base/port.cc
|
| +++ b/webrtc/p2p/base/port.cc
|
| @@ -1254,7 +1254,7 @@ void Connection::OnConnectionRequestSent(ConnectionRequest* request) {
|
| void Connection::CheckTimeout() {
|
| // If write has timed out and it is not receiving, remove the connection.
|
| if (!receiving_ && write_state_ == STATE_WRITE_TIMEOUT) {
|
| - port_->thread()->Post(this, MSG_DELETE);
|
| + Destroy();
|
| }
|
| }
|
|
|
|
|