Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1227)

Unified Diff: third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h

Issue 2064633002: Promptly release cross-thread websocket bridge/proxy references (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h
diff --git a/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h b/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h
index 9ffce517d86902ba2211baa98c3b4de5fda9ec75..9a6b4eecc138c80a741f1eccf8ff1b6a310bc2fe 100644
--- a/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h
+++ b/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h
@@ -104,6 +104,8 @@ public:
void disconnect();
DECLARE_VIRTUAL_TRACE();
+ // Promptly clear connection to bridge + loader proxy.
+ EAGERLY_FINALIZE();
// WebSocketChannelClient functions.
void didConnect(const String& subprotocol, const String& extensions) override;
@@ -146,6 +148,8 @@ public:
WebSocketChannelClient* client() { return m_client; }
DECLARE_TRACE();
+ // Promptly clear connection to peer + loader proxy.
+ EAGERLY_FINALIZE();
private:
// Returns false if shutdown event is received before method completion.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698