Skip to content

Commit

Permalink
Merge pull request #1996 from locustio/fix-web-ui-shutdown-on-stop
Browse files Browse the repository at this point in the history
Reverse parts of 33083d2 / PR #1992
  • Loading branch information
cyberw authored Feb 3, 2022
2 parents f28aed1 + e9a79a9 commit 30d7028
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions locust/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ def stop():
self._swarm_greenlet.kill(block=True)
self._swarm_greenlet = None
environment.runner.stop()
if self.greenlet is not None:
self.greenlet.kill(block=True)
return jsonify({"success": True, "message": "Test stopped"})

@app.route("/stats/reset")
Expand Down

0 comments on commit 30d7028

Please sign in to comment.