Merge "Don't send multiple update-cancel messages to an event"

This commit is contained in:
Jenkins 2014-10-07 15:25:09 +00:00 committed by Gerrit Code Review
commit 045c8b4687

View File

@ -191,7 +191,7 @@ class ThreadGroupManager(object):
eventlet.sleep() eventlet.sleep()
def send(self, stack_id, message): def send(self, stack_id, message):
for event in self.events.get(stack_id, []): for event in self.events.pop(stack_id, []):
event.send(message) event.send(message)