mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
[network] move some generic websocket code to the baseclass
This commit is contained in:
parent
af3667d715
commit
6a1e540412
4 changed files with 7 additions and 3 deletions
|
|
@ -62,6 +62,11 @@ BaseWebSocketChannel::BaseWebSocketChannel()
|
|||
mSerial = (processBits << kWebSocketIDWebSocketBits) | webSocketBits;
|
||||
}
|
||||
|
||||
BaseWebSocketChannel::~BaseWebSocketChannel() {
|
||||
NS_ReleaseOnMainThread(mLoadGroup.forget());
|
||||
NS_ReleaseOnMainThread(mLoadInfo.forget());
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// BaseWebSocketChannel::nsIWebSocketChannel
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue