Index: chrome/browser/ui/app_list/app_list_service.cc |
diff --git a/chrome/browser/ui/app_list/app_list_service.cc b/chrome/browser/ui/app_list/app_list_service.cc |
index 132a9b00da458e6ff657bb1e605835585ecaa8b4..d80b61cdd0d7b72e77a96443296fb9676d25b79d 100644 |
--- a/chrome/browser/ui/app_list/app_list_service.cc |
+++ b/chrome/browser/ui/app_list/app_list_service.cc |
@@ -116,6 +116,8 @@ void AppListService::RecordAppListAppLaunch() { |
// static |
void AppListService::SendAppListStats() { |
+ if (!g_browser_process || g_browser_process->IsShuttingDown()) |
+ return; |
SendDailyEventFrequency(prefs::kLastAppListLaunchPing, |
prefs::kAppListLaunchCount, |
&SendAppListLaunch); |