Skip to content

Conversation

@bdauvergne
Copy link

@bdauvergne bdauvergne commented Oct 23, 2021

Server threads take some times to shutdown, calling ThreadMixin.server_close() will wait on those threads.

It prevents ResourceWarning about an unclosed listening socket after a pytest run.

Server threads take some times to shutdown, calling
ThreadMixin.server_close() will waits on those threads.
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 8a42b34 and detected 0 issues on this pull request.

View more on Code Climate.

@bdauvergne bdauvergne changed the title Prevent ResourceWarning about listening socket Call server_close() on shutdown Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant