We don't care about the return value of any killed threads on
delete_stack, and the greenthreads will all raise a GreenletExit
exception after being kill()'d anyway.
Also see related openstack-common fix : https://review.openstack.org/15906
Signed-off-by: Steven Hardy <shardy@redhat.com>
stack = parser.Stack.load(context, stack=st)
- # TODO Angus do we need a kill or will stop do?
+ # Kill any pending threads by calling ThreadGroup.stop()
if st.id in self.stg:
self.stg[st.id].stop()
- self.stg[st.id].wait()
del self.stg[st.id]
# use the service ThreadGroup for deletes
self.tg.add_thread(stack.delete)