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
This commit is contained in:
Carlos Garnacho 2019-05-10 00:07:25 +02:00
parent bd5a1121d6
commit 7f66aede01

View File

@ -1477,6 +1477,7 @@ var Keyboard = class Keyboard {
c.destroy();
});
this._currentPage = null;
this._groups = {};
this._onGroupChanged();
}