mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 12:55:46 +00:00
Bug 363770: Fix print crash caused by premature release of print engine. r+sr=roc.
This commit is contained in:
parent
e42b5574fb
commit
fe85f89a4d
@ -3298,12 +3298,9 @@ nsPrintEngine::FinishPrintPreview()
|
||||
/* cleanup done, let's fire-up an error dialog to notify the user
|
||||
* what went wrong...
|
||||
*/
|
||||
SetIsPrintPreview(PR_FALSE);
|
||||
mPrt->OnEndPrinting();
|
||||
TurnScriptingOn(PR_TRUE);
|
||||
|
||||
FirePrintCompletionEvent();
|
||||
|
||||
return CleanupOnFailure(rv, PR_FALSE); // ignore return value here
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user