[network] Hold a strong ref to mChannel in OpenConn

This commit is contained in:
Moonchild 2023-08-30 18:59:32 +02:00 committed by roytam1
commit 613cd8f4cb

View file

@ -520,7 +520,7 @@ private:
~nsOpenConn() { MOZ_COUNT_DTOR(nsOpenConn); }
nsCString mAddress;
WebSocketChannel *mChannel;
RefPtr<WebSocketChannel> mChannel;
};
void ConnectNext(nsCString &hostName)