| Index: rlz/lib/financial_ping.cc
|
| ===================================================================
|
| --- rlz/lib/financial_ping.cc (revision 198117)
|
| +++ rlz/lib/financial_ping.cc (working copy)
|
| @@ -265,6 +265,10 @@
|
|
|
| return true;
|
| #else
|
| + // Browser shutdown will cause the context to be reset to NULL.
|
| + if (!g_context)
|
| + return false;
|
| +
|
| // Run a blocking event loop to match the win inet implementation.
|
| scoped_ptr<MessageLoop> message_loop;
|
| // Ensure that we have a MessageLoop.
|
| @@ -288,7 +292,6 @@
|
|
|
| // Ensure rlz_lib::SetURLRequestContext() has been called before sending
|
| // pings.
|
| - CHECK(g_context);
|
| fetcher->SetRequestContext(g_context);
|
|
|
| const base::TimeDelta kTimeout = base::TimeDelta::FromMinutes(5);
|
|
|