This commit is contained in:
sford3%swbell.net 2006-09-14 05:47:50 +00:00
Родитель 1ae94d1edb
Коммит 70f459f2dd
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();