pytest-sftpserver icon indicating copy to clipboard operation
pytest-sftpserver copied to clipboard

Call server_close() on shutdown

Open bdauvergne opened this issue 3 years ago • 1 comments

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.

bdauvergne avatar Oct 23 '21 08:10 bdauvergne

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

View more on Code Climate.

codeclimate[bot] avatar Oct 23 '21 08:10 codeclimate[bot]