mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
Handle the Windows waker too.
This commit is contained in:
parent
3a613aee70
commit
c80469b50b
@ -655,7 +655,7 @@ async def spin_until_cleanup_done(value=None, timeout=10):
|
||||
else:
|
||||
# Normal reactor
|
||||
return len([r for r in reactor.getReaders()
|
||||
if r.__class__.__name__ not in ("_UnixWaker", "_SIGCHLDWaker")]
|
||||
if r.__class__.__name__ not in ("_UnixWaker", "_SIGCHLDWaker", "_SocketWaker")]
|
||||
) + len(reactor.getWriters())
|
||||
|
||||
for i in range(timeout * 1000):
|
||||
|
Loading…
x
Reference in New Issue
Block a user