layout: Clean up consoleBackgroundGroup

We shouldn't leave a reference to a destroyed actor just hanging
around.

https://bugzilla.gnome.org/show_bug.cgi?id=694227
This commit is contained in:
Jasper St. Pierre 2013-02-19 20:31:56 -05:00
parent 5d3c90197c
commit b4678a1cee

View File

@ -607,6 +607,8 @@ const LayoutManager = new Lang.Class({
global.stage_input_mode = Shell.StageInputMode.NORMAL;
this._consoleBackgroundGroup.destroy();
this._consoleBackgroundGroup = null;
this._startingUp = false;
this.trayBox.show();