background: don't call destroy() from the destroy handler
We're calling destroy() in a callback of the destroy handler, which results in an X server crash at login. https://bugzilla.gnome.org/show_bug.cgi?id=694240
This commit is contained in:
parent
dcacbb37c3
commit
9ebb80502a
@ -301,8 +301,6 @@ const Background = new Lang.Class({
|
|||||||
|
|
||||||
this.actor.disconnect(this._destroySignalId);
|
this.actor.disconnect(this._destroySignalId);
|
||||||
this._destroySignalId = 0;
|
this._destroySignalId = 0;
|
||||||
|
|
||||||
this.actor.destroy();
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_setLoaded: function() {
|
_setLoaded: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user