Skip to content

Commit

Permalink
formatting 1/1
Browse files Browse the repository at this point in the history
  • Loading branch information
bot984397 authored Jan 1, 2025
1 parent 8aefe88 commit 2f0beaa
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/btop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,10 @@ void term_resize(bool force) {

//* Exit handler; stops threads, restores terminal and saves config changes
void clean_quit(int sig) {
bool expected = false;
if (!Global::quitting.compare_exchange_strong(expected, true))
{
return;
}
bool expected = false;
if (!Global::quitting.compare_exchange_strong(expected, true)) {
return;
}
Runner::stop();
if (Global::_runner_started) {
#if defined __APPLE__ || defined __OpenBSD__ || defined __NetBSD__
Expand Down

0 comments on commit 2f0beaa

Please sign in to comment.