From 2f0beaa2696c9ff294984c82e080b2ac16146e7a Mon Sep 17 00:00:00 2001 From: bot984397 Date: Thu, 2 Jan 2025 00:42:34 +0100 Subject: [PATCH] formatting 1/1 --- src/btop.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/btop.cpp b/src/btop.cpp index ac9267ebc..d9f24967f 100644 --- a/src/btop.cpp +++ b/src/btop.cpp @@ -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__