[gnome-shell/wip/carlosg/fix-osk-warnings: 2/2] keyboard: Fix warnings on destroyed actors



commit 7f66aede0109a78bd829ba0390a154d19a02be9d
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri May 10 00:07:25 2019 +0200

    keyboard: Fix warnings on destroyed actors
    
    Trying to hide a page gets hard when the page was previouly destroyed.
    
    Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1281

 js/ui/keyboard.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index 3c5c65091..85c186a99 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -1477,6 +1477,7 @@ var Keyboard = class Keyboard {
             c.destroy();
         });
 
+        this._currentPage = null;
         this._groups = {};
         this._onGroupChanged();
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]