diff options
author | Moonchild <moonchild@palemoon.org> | 2023-08-30 18:59:32 +0200 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-08-30 18:59:32 +0200 |
commit | f20e3f4dd16285c9b484a8abb144f2a51d93ac07 (patch) | |
tree | b8afbf247a0d771736044e8f99b372757a269a06 | |
parent | ca691c8d2dbd00957722028b5bc8322721879d86 (diff) | |
download | uxp-f20e3f4dd16285c9b484a8abb144f2a51d93ac07.tar.gz |
[network] Hold a strong ref to mChannel in OpenConn
-rw-r--r-- | netwerk/protocol/websocket/WebSocketChannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/protocol/websocket/WebSocketChannel.cpp b/netwerk/protocol/websocket/WebSocketChannel.cpp index 4b087a8bf2..9fca09a087 100644 --- a/netwerk/protocol/websocket/WebSocketChannel.cpp +++ b/netwerk/protocol/websocket/WebSocketChannel.cpp @@ -520,7 +520,7 @@ private: ~nsOpenConn() { MOZ_COUNT_DTOR(nsOpenConn); } nsCString mAddress; - WebSocketChannel *mChannel; + RefPtr<WebSocketChannel> mChannel; }; void ConnectNext(nsCString &hostName) |