risor-io / risor

Fast and flexible scripting for Go developers and DevOps.
https://risor.io
Apache License 2.0
576 stars 24 forks source link

generate cpu-profile if interrupted by SIGINT or SIGTERM #198

Closed edhemphill closed 4 months ago

edhemphill commented 4 months ago

A small fix to make cpu-profile even when stopped by a SIGINT or SIGTERM

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 30.94%. Comparing base (2af14bf) to head (71c03ab).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #198 +/- ## ========================================== + Coverage 30.93% 30.94% +0.01% ========================================== Files 113 113 Lines 14502 14502 ========================================== + Hits 4486 4488 +2 + Misses 9464 9463 -1 + Partials 552 551 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.