Skip to content

Commit

Permalink
Sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
FrogTheFrog committed Jan 29, 2025
1 parent 2b5d851 commit e278aee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,11 @@ namespace proc {
}

app_t::~app_t() {
terminate();
try {
terminate();
} catch (const std::exception &e) {
BOOST_LOG(fatal) << "Exception in `app_t` destructor: " << e.what();
}
}

std::optional<int> app_t::get_app_id() {
Expand Down

0 comments on commit e278aee

Please sign in to comment.