Bug 1439022 r=baku
MozReview-Commit-ID: HSKAPIXUrtz
This commit is contained in:
@@ -235,7 +235,10 @@ XMLHttpRequestMainThread::~XMLHttpRequestMainThread()
|
||||
Abort();
|
||||
}
|
||||
|
||||
mParseEndListener = nullptr;
|
||||
if (mParseEndListener) {
|
||||
mParseEndListener->SetIsStale();
|
||||
mParseEndListener = nullptr;
|
||||
}
|
||||
|
||||
MOZ_ASSERT(!mFlagSyncLooping, "we rather crash than hang");
|
||||
mFlagSyncLooping = false;
|
||||
|
||||
Reference in New Issue
Block a user