зеркало из https://github.com/mozilla/gecko-dev.git
fix for crasher #75831. make sure we close the dbview when we close
the stand alone message window. sr=bienvenu
This commit is contained in:
Родитель
3a3f55f136
Коммит
cda8f1a24a
|
@ -65,6 +65,7 @@ var gIsEditableMsgFolder = false;
|
|||
function OnMailWindowUnload()
|
||||
{
|
||||
var dbview = GetDBView();
|
||||
dump("XXX closing dbview (" + dbview + ")\n");
|
||||
if (dbview) {
|
||||
dbview.close();
|
||||
}
|
||||
|
|
|
@ -683,3 +683,7 @@ function CommandUpdate_UndoRedo()
|
|||
|
||||
}
|
||||
|
||||
function GetDBView()
|
||||
{
|
||||
return gDBView;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче