Bug 1970656 - Enable VerifyStream in early beta builds, a=dmeehan
In case the preivous patch doesn't fix the issue, enabling VerifyStream should help us catch related crashes earlier. Original Revision: https://phabricator.services.mozilla.com/D252832 Differential Revision: https://phabricator.services.mozilla.com/D253326
This commit is contained in:
committed by
dmeehan@mozilla.com
parent
59def6b8b7
commit
c176345db2
@@ -1210,10 +1210,10 @@ bool Http2Session::VerifyStream(Http2StreamBase* aStream,
|
||||
// This is annoying, but at least it is O(1)
|
||||
MOZ_ASSERT(OnSocketThread(), "not on socket thread");
|
||||
|
||||
#ifndef DEBUG
|
||||
// Only do the real verification in debug builds
|
||||
#ifndef MOZ_DIAGNOSTIC_ASSERT_ENABLED
|
||||
// Only do the real verification in early beta builds
|
||||
return true;
|
||||
#else // DEBUG
|
||||
#else // MOZ_DIAGNOSTIC_ASSERT_ENABLED
|
||||
|
||||
if (!aStream) return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user