Bug 938407 - Null check FinishReportingCallback::mFinishDumping. r=froydnj

This commit is contained in:
Andrew McCreight 2013-12-02 13:11:43 -08:00
parent 5ae3b50392
commit 6b569dc7df

View File

@ -1047,6 +1047,10 @@ public:
rv = writer->Finish(); rv = writer->Finish();
NS_ENSURE_SUCCESS(rv, rv); NS_ENSURE_SUCCESS(rv, rv);
if (!mFinishDumping) {
return NS_OK;
}
return mFinishDumping->Callback(mFinishDumpingData); return mFinishDumping->Callback(mFinishDumpingData);
} }