Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: ios/web/app/web_main_loop.mm

Issue 1615493002: Call to URLDataManagerIOS::DeleteDataSources during shutdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/app/web_main_loop.mm
diff --git a/ios/web/app/web_main_loop.mm b/ios/web/app/web_main_loop.mm
index 05b3ee2809251ca9e524dbb1fa151f96013c5a66..be504e0df6c798b5cd100353e08a8d68075008c7 100644
--- a/ios/web/app/web_main_loop.mm
+++ b/ios/web/app/web_main_loop.mm
@@ -24,6 +24,7 @@
#include "ios/web/public/app/web_main_parts.h"
#include "ios/web/public/web_client.h"
#include "ios/web/web_thread_impl.h"
+#include "ios/web/webui/url_data_manager_ios.h"
#include "net/base/network_change_notifier.h"
namespace web {
@@ -252,6 +253,8 @@ void WebMainLoop::ShutdownThreadsAndCleanUp() {
// more head start for those operations to finish.
WebThreadImpl::ShutdownThreadPool();
+ URLDataManagerIOS::DeleteDataSources();
+
if (parts_) {
parts_->PostDestroyThreads();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698