Merge "Don't assert that we haven't signalled the calling thread"

This commit is contained in:
Zuul 2018-10-10 04:21:47 +00:00 committed by Gerrit Code Review
commit 42357ced7a
1 changed files with 1 additions and 2 deletions

View File

@ -191,8 +191,7 @@ class ThreadGroupManager(object):
stack.persist_state_and_release_lock(lock.engine_id)
notify = kwargs.get('notify')
if notify is not None:
assert not notify.signalled()
if notify is not None and not notify.signalled():
notify.signal()
else:
try: