Skip to content

Commit

Permalink
fix: my bad (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Aug 29, 2023
1 parent d997b1d commit b98a72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion a_sync/primitives/locks/prio_semaphore.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _wake_up_next(self) -> None:

while manager._waiters:
waiter = manager._waiters.popleft()
waiter = self._potential_lost_waiters.remove(waiter)
self._potential_lost_waiters.remove(waiter)
if not waiter.done():
waiter.set_result(None)
logger.debug("woke up %s", waiter)
Expand Down

0 comments on commit b98a72f

Please sign in to comment.