Commit 4d225bde authored by Marco Trevisan's avatar Marco Trevisan 🎺
Browse files

appDisplay: don't try to close the popup menu that is already destroyed

This would lead to a JS error otherwise, as we might end up
in deleting actors that have been already destructed.
parent 15b1810a
......@@ -1872,11 +1872,14 @@ var AppIconMenu = new Lang.Class({'app-well-menu');
// Chain our visibility and lifecycle to that of the source'notify::mapped', Lang.bind(this, function () {
this._sourceMappedId ='notify::mapped', () => {
if (!
}));'destroy', Lang.bind(this, this.destroy));
});'destroy', () => {;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment