Skip to content

Commit

Permalink
Go away
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Aug 9, 2024
1 parent 1ac8c03 commit c959b09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/networktest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ class TestReactor : public NUClear::Reactor {

// NOLINTNEXTLINE(bugprone-exception-escape)
int main(int argc, const char* argv[]) {
// NOLINTNEXTLINE(bugprone-signal-handler,cert-msc54-cpp,cert-sig30-c)
auto old_sigint = signal(SIGINT, [](int) { NUClear::PowerPlant::powerplant->shutdown(); });
if (old_sigint == SIG_ERR) {
std::cerr << "Failed to set SIGINT handler";
Expand Down

0 comments on commit c959b09

Please sign in to comment.