Skip to content

Commit

Permalink
Merge pull request #1560 from bugsnag/fix-webserver-kill
Browse files Browse the repository at this point in the history
Fix web server staying alive if Cucumber crashes
  • Loading branch information
imjoehaines authored Nov 2, 2021
2 parents c641363 + 21ad3b4 commit 8a3e0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/browser/features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_error_message id
Process.detach(pid)
end

AfterAll do
at_exit do
# Stop the web page server
begin
Process.kill('KILL', pid)
Expand Down

0 comments on commit 8a3e0b5

Please sign in to comment.