mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Bug 1730120, close ContentViewer properly if initialization fails, r=nika a=RyanVM
This commit is contained in:
parent
6036639e99
commit
bf632ce22a
2 changed files with 4 additions and 2 deletions
|
|
@ -1602,8 +1602,6 @@ DetachContainerRecurse(nsIDocShell *aShell)
|
|||
NS_IMETHODIMP
|
||||
nsDocumentViewer::Destroy()
|
||||
{
|
||||
NS_ASSERTION(mDocument, "No document in Destroy()!");
|
||||
|
||||
#ifdef NS_PRINTING
|
||||
// Here is where we check to see if the document was still being prepared
|
||||
// for printing when it was asked to be destroy from someone externally
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue