bug 959172 - double SpdySession::CleanupStream r=hurley

This commit is contained in:
Patrick McManus 2014-01-13 10:10:10 -05:00
parent 6087eb63f6
commit 2311cd485e
3 changed files with 12 additions and 3 deletions

View File

@ -896,7 +896,10 @@ Http2Session::CleanupStream(Http2Stream *aStream, nsresult aResult,
{
MOZ_ASSERT(PR_GetCurrentThread() == gSocketThread);
LOG3(("Http2Session::CleanupStream %p %p 0x%X %X\n",
this, aStream, aStream->StreamID(), aResult));
this, aStream, aStream ? aStream->StreamID() : 0, aResult));
if (!aStream) {
return;
}
Http2PushedStream *pushSource = nullptr;

View File

@ -837,7 +837,10 @@ SpdySession3::CleanupStream(SpdyStream3 *aStream, nsresult aResult,
{
MOZ_ASSERT(PR_GetCurrentThread() == gSocketThread);
LOG3(("SpdySession3::CleanupStream %p %p 0x%X %X\n",
this, aStream, aStream->StreamID(), aResult));
this, aStream, aStream ? aStream->StreamID() : 0, aResult));
if (!aStream) {
return;
}
SpdyPushedStream3 *pushSource = nullptr;

View File

@ -874,7 +874,10 @@ SpdySession31::CleanupStream(SpdyStream31 *aStream, nsresult aResult,
{
MOZ_ASSERT(PR_GetCurrentThread() == gSocketThread);
LOG3(("SpdySession31::CleanupStream %p %p 0x%X %X\n",
this, aStream, aStream->StreamID(), aResult));
this, aStream, aStream ? aStream->StreamID() : 0, aResult));
if (!aStream) {
return;
}
SpdyPushedStream31 *pushSource = nullptr;