Chromium Code Reviews| Index: runtime/bin/http_impl.dart |
| diff --git a/runtime/bin/http_impl.dart b/runtime/bin/http_impl.dart |
| index 05b1a38b8f105e79425e52d2d345704c36ab6d06..683746ebe9f172463116c51b44fc0e7e36c90cc5 100644 |
| --- a/runtime/bin/http_impl.dart |
| +++ b/runtime/bin/http_impl.dart |
| @@ -1111,6 +1111,9 @@ class _HttpClientConnection |
| _socket.close(); |
| } |
| } else { |
| + _socket.onData = null; |
|
Søren Gjesse
2012/04/20 11:07:22
_returnSocketConnection already does this (calls _
Anders Johnsen
2012/04/20 11:13:42
It's done iff shutdown is not marked. Is there a o
Søren Gjesse
2012/04/20 11:27:35
How about just moving the _markReturned to the top
|
| + _socket.onClosed = null; |
| + _socket.onError = null; |
| _client._returnSocketConnection(_socketConn); |
| } |
| _socket = null; |