From f6b8712712a36aacd1865f9c8df4ae91f628ffb3 Mon Sep 17 00:00:00 2001 From: xSmurf Date: Sat, 6 Jan 2018 11:15:21 +0000 Subject: [PATCH] Push_modal failure tentative two... --- gnome-shell/firewall@subgraph.com/extension.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnome-shell/firewall@subgraph.com/extension.js b/gnome-shell/firewall@subgraph.com/extension.js index a6b3fe4..425ac6e 100644 --- a/gnome-shell/firewall@subgraph.com/extension.js +++ b/gnome-shell/firewall@subgraph.com/extension.js @@ -190,6 +190,12 @@ const FirewallPromptHandler = new Lang.Class({ onCloseDialog: function() { log("SGFW: Closed dialog"); + try { + this._dialog.close(); + this._dialog.destroy(); + } catch (err) { + log("SGFW: Unable to close/destroy modal..."); + } this._dialog = null; if (this._dialogs.length > 0) { log("SGFW: Opening next dialogs (remaining: " + this._dialogs.length + ")");