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(); |
} |