Call ResourceBundle::CleanupSharedInstance() on exit (issue #393).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@348 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-10-31 15:40:54 +00:00
parent e6c93810c8
commit 1897d14214
3 changed files with 10 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ void CefProcessUIThread::Init() {
std::string localeStr = CefString(&settings.locale);
if (localeStr.empty())
localeStr = "en-US";
webkit_glue::InitializeDataPak(localeStr);
webkit_glue::InitializeResourceBundle(localeStr);
PlatformInit();
@@ -201,6 +201,8 @@ void CefProcessUIThread::CleanUp() {
network_change_notifier_.reset();
PlatformCleanUp();
webkit_glue::CleanupResourceBundle();
}
void CefProcessUIThread::OnOnlineStateChanged(bool online) {