Skip to content

Commit

Permalink
Fix double kill
Browse files Browse the repository at this point in the history
  • Loading branch information
kazimuth committed Mar 29, 2024
1 parent 7833456 commit 17fe1c1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/bench/bottest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ function assert_file {
exit 1
fi
}
# we need to ensure everything dies in case of an early exit to avoid polluting
# the bot test machine with processes
function cleanup {
kill $SPACETIME_PROCESS
kill $TRACY_PROCESS
kill $SPACETIME_PROCESS || echo "already dead"
kill $TRACY_PROCESS || echo "already dead"
git checkout -- .
}

Expand Down

1 comment on commit 17fe1c1

@github-actions
Copy link

@github-actions github-actions bot commented on 17fe1c1 Mar 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bot test failed. Please check the workflow run for details.

Please sign in to comment.