
_hideTray() is called by _updateState() when the tray is visible but should be hidden; however, _updateState() may be called again from within _hideTray() when releasing the GrabHelper grab, so unless we update the _trayState variable before that, _hideTray() will be called a second time. https://bugzilla.gnome.org/show_bug.cgi?id=682243