Bug 1411578 - MutableBlobStorage should check if the error has been already propagated, r=smaug

This commit is contained in:
Andrea Marchesini 2017-10-27 09:04:28 +02:00
parent 58c22f74cd
commit 44947dd6fe

View File

@ -652,8 +652,10 @@ MutableBlobStorage::ErrorPropagated(nsresult aRv)
MOZ_ASSERT(NS_IsMainThread());
mErrorResult = aRv;
mActor->SendOperationDone(false, EmptyCString());
mActor = nullptr;
if (mActor) {
mActor->SendOperationDone(false, EmptyCString());
mActor = nullptr;
}
}
void