Don't try to update the debugging options while the browser is shutting down (bug 1054325); r=mratcliffe

--HG--
extra : rebase_source : c75b9802b3b30c5ddb6eecaa33d99af0170c80b4