зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1270328 - Fix use-after-forget in WebSocket. r=mcmanus
This commit is contained in:
Родитель
6d9b00c84d
Коммит
1f75ae7708
|
@ -1758,6 +1758,7 @@ WebSocketChannel::ProcessInput(uint8_t *buffer, uint32_t count)
|
|||
// We send the frame immediately becuase we want to have it dispatched
|
||||
// before the CallOnServerClose.
|
||||
mService->FrameReceived(mSerial, mInnerWindowID, frame.forget());
|
||||
frame = nullptr;
|
||||
}
|
||||
|
||||
if (mListenerMT) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче