summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/hob.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-09-05 13:30:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-05 20:25:43 +0100
commita9325ecad889556b0043244509ed767eea363e1e (patch)
tree852153559091a4307b5827e96d98161e07dbe7e1 /bitbake/lib/bb/ui/hob.py
parent88852a522d032b56f528b1f041ceb2ccb8b27694 (diff)
downloadpoky-a9325ecad889556b0043244509ed767eea363e1e.tar.gz
hob: fix segfault on second build
Some internal lists were not being cleared, resulting in incorrect program flow on the second build, causing a structure to be accessed incorrectly which resulted in a segfault. Fixes [YOCTO #1332] (Bitbake rev: 71ac7fda51ed80e9ef6d1a3bca653683893e4770) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/hob.py')
-rw-r--r--bitbake/lib/bb/ui/hob.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index 38f8a7751a..84df37de73 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -484,7 +484,7 @@ class MainWindow (gtk.Window):
484 484
485 def toggle_createview(self): 485 def toggle_createview(self):
486 self.set_menus_sensitive(True) 486 self.set_menus_sensitive(True)
487 self.build.model.clear() 487 self.build.reset()
488 self.nb.set_current_page(0) 488 self.nb.set_current_page(0)
489 489
490 def build_complete_cb(self, running_build): 490 def build_complete_cb(self, running_build):