Bug 363770: Fix print crash caused by premature release of print engine. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@217101 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user