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:
sspitzer%netscape.com 2001-04-13 22:05:10 +00:00
Родитель 3a3f55f136
Коммит cda8f1a24a
2 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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;
}