Skip to content

Commit

Permalink
live_server_helper: remove redundant join()
Browse files Browse the repository at this point in the history
terminate() already does it.
  • Loading branch information
bluetech committed Dec 1, 2021
1 parent 2bba6eb commit 774277b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pytest_django/live_server_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def stop(self) -> None:
"""Stop the server"""
# Terminate the live server's thread.
self.thread.terminate()
self.thread.join()
# Restore shared connections' non-shareability.
for conn in self.thread.connections_override.values():
conn.dec_thread_sharing()
Expand Down

0 comments on commit 774277b

Please sign in to comment.