зеркало из https://github.com/mozilla/gecko-dev.git
Bug 37280 (workaround). Refresh sidebars *before* flushing the panels datasource to deal with the fact that there's a leak. r=slamm
This commit is contained in:
Родитель
0c513b7385
Коммит
c312d56dc3
|
@ -529,9 +529,12 @@ function SidebarTogglePanel(panel_menuitem) {
|
||||||
RDF.GetLiteral(new_exclude));
|
RDF.GetLiteral(new_exclude));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// force all the sidebars to update
|
||||||
|
refresh_all_sidebars();
|
||||||
|
|
||||||
// Write the modified panels out.
|
// Write the modified panels out.
|
||||||
sidebarObj.datasource.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource).Flush();
|
sidebarObj.datasource.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource).Flush();
|
||||||
refresh_all_sidebars();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use an assertion to pass a "refresh" event to all the sidebars.
|
// Use an assertion to pass a "refresh" event to all the sidebars.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче