bb/ui/crumbs/tasklistmodel: prevent hang when removing item
authorJoshua Lock <josh@linux.intel.com>
Fri, 5 Aug 2011 23:12:12 +0000 (16:12 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 9 Aug 2011 14:19:59 +0000 (15:19 +0100)
commit1948e098df297f6aae825a2ef635beeed053b4a9
treea8811122a204f6548a10d60d3ba82ef4ce6a09ec
parent143af78e68052c16653641a336c12678d5af1650
bb/ui/crumbs/tasklistmodel: prevent hang when removing item

It's possible to trigger an infinite recursion when removing a package
where many of the dependencies share their dependencies. Prevent this by
keeping a list of removed item names and only removing the item when it's
not in the list.

Addresses [YOCTO #1319]

(Bitbake rev: 0ed58f28e869cceeefa930a3f1f46c5f3e9ffe21)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/crumbs/tasklistmodel.py