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:
Jasper St. Pierre 2013-05-23 17:41:19 -04:00
parent ccfa3d3be1
commit f73a01295c

View File

@ -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);
},