From 07c0105c8392b43bc07b5ddf5c5aced9780ef3f7 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 6 Feb 2013 14:36:37 -0500 Subject: [PATCH] loginDialog: don't try to stop work spinner if it's already gone This can happen if the dialog gets reset at the wrong moment. https://bugzilla.gnome.org/show_bug.cgi?id=693757 --- js/gdm/loginDialog.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index d2b93ba72..d41b520ef 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -1063,7 +1063,8 @@ const LoginDialog = new Lang.Class({ transition: 'linear', onCompleteScope: this, onComplete: function() { - this._workSpinner.stop(); + if (this._workSpinner) + this._workSpinner.stop(); } }); }