Bug 922665 - Prevent AsyncShutdown from attempting to use the crash reporter if it is disabled. r=froydnj

This commit is contained in:
David Rajchenbach-Teller 2013-10-01 11:48:42 -04:00
parent c718637c44
commit 63018393b8

View File

@ -375,7 +375,7 @@ Spinner.prototype = {
" Conditions: " + frozen.join(", ") +
" Phase: " + topic;
err(msg);
if (gCrashReporter) {
if (gCrashReporter && gCrashReporter.enabled) {
let data = {
phase: topic,
conditions: frozen