This commit is contained in:
sford3%swbell.net 2000-03-22 07:07:02 +00:00
Родитель a0d20ea7f0
Коммит 4698d92583
1 изменённых файлов: 11 добавлений и 4 удалений

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

@ -193,14 +193,21 @@ function Shutdown()
var bmks = Components.classes["component://netscape/browser/bookmarks-service"].getService();
if (bmks) bmks = bmks.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource);
if (bmks) bmks.Flush();
// give history a change at flushing to disk also
var history = getService( "component://netscape/browser/global-history", "nsIRDFRemoteDataSource" );
if (history)
history.Flush();
}
catch (ex)
{
}
try
{
// give history a change at flushing to disk also
var history = getService( "component://netscape/browser/global-history", "nsIRDFRemoteDataSource" );
if (history)
history.Flush();
}
catch (ex)
{
}
// Close the app core.
if ( appCore )
appCore.close();