зеркало из https://github.com/mozilla/gecko-dev.git
bug 1121058 - h2 assert stream id before cleanup r=hurley
This commit is contained in:
Родитель
581a6510e4
Коммит
33e101f503
|
@ -2682,8 +2682,8 @@ Http2Session::WriteSegments(nsAHttpSegmentWriter *writer,
|
|||
"needscleanup=%p. cleanup stream based on "
|
||||
"stream->writeSegments returning code %x\n",
|
||||
this, streamID, mNeedsCleanup, rv));
|
||||
CleanupStream(streamID, NS_OK, CANCEL_ERROR);
|
||||
MOZ_ASSERT(!mNeedsCleanup || mNeedsCleanup->StreamID() == streamID);
|
||||
CleanupStream(streamID, NS_OK, CANCEL_ERROR);
|
||||
mNeedsCleanup = nullptr;
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче