fix _Wait
This commit is contained in:
parent
06515321cf
commit
36dad0137b
|
@ -58,7 +58,7 @@ class Wait():
|
|||
def finish(self, gen, result):
|
||||
self.received += 1
|
||||
|
||||
if self.received >= self.wait_for:
|
||||
if self.received == self.wait_for:
|
||||
__call_at(None, self.callback)
|
||||
self.callback = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue