Skip to content

Commit

Permalink
Disallow leaked threads on windows (#6152)
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert authored Apr 19, 2022
1 parent 90cc2c1 commit fc5b460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1755,7 +1755,7 @@ def check_instances():


@contextmanager
def clean(threads=not WINDOWS, instances=True, timeout=1, processes=True):
def clean(threads=True, instances=True, timeout=1, processes=True):
with check_thread_leak() if threads else nullcontext():
with pristine_loop() as loop:
with check_process_leak(check=processes):
Expand Down

0 comments on commit fc5b460

Please sign in to comment.