Index: sdk/lib/io/websocket_impl.dart |
diff --git a/sdk/lib/io/websocket_impl.dart b/sdk/lib/io/websocket_impl.dart |
index 2f95ff742286594d8a61e2709b4b90f9162c0ae7..708af8aeeb8e1032f01b43394312827b2ee32a2c 100644 |
--- a/sdk/lib/io/websocket_impl.dart |
+++ b/sdk/lib/io/websocket_impl.dart |
@@ -897,6 +897,7 @@ class _WebSocketImpl extends Stream with _ServiceObject implements WebSocket { |
onResume: _subscription.resume); |
_webSockets[_serviceId] = this; |
+ try { _socket._owner = this; } catch (_) {} |
} |
StreamSubscription listen(void onData(message), |