messageTray: Don't destroy a notification from within its destroy handler
Nothing but bad can come from this. https://bugzilla.gnome.org/show_bug.cgi?id=700923
This commit is contained in:
parent
ccfa3d3be1
commit
f73a01295c
@ -1996,7 +1996,6 @@ const MessageTray = new Lang.Class({
|
||||
}
|
||||
|
||||
let index = this._notificationQueue.indexOf(notification);
|
||||
notification.destroy();
|
||||
if (index != -1)
|
||||
this._notificationQueue.splice(index, 1);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user