зеркало из https://github.com/mozilla/gecko-dev.git
Fix bug # 20542: make global history flush-able, and try and flush in on Shutdown()
This commit is contained in:
Родитель
d461064185
Коммит
63c8622b03
|
@ -164,6 +164,16 @@ function Shutdown()
|
|||
{
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
}
|
||||
|
||||
if ( appCore )
|
||||
appCore.close();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче