summaryrefslogtreecommitdiff
path: root/src/sessionManager.cpp
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-04-02 13:47:29 +0000
committerlittleblack111 <littleblack11111@gmail.com>2025-04-07 16:32:07 +0800
commit6d97d1ba6e20bb4bb24ed56ae1c90ba362b48071 (patch)
treec8ca99d14f9f616e335eff0cbfa98ba903861185 /src/sessionManager.cpp
parent2b97b774663b44c86eb3f8029d690bbe9a433ec8 (diff)
style: clang-format
Diffstat (limited to 'src/sessionManager.cpp')
-rw-r--r--src/sessionManager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sessionManager.cpp b/src/sessionManager.cpp
index 49d65b1..911ec60 100644
--- a/src/sessionManager.cpp
+++ b/src/sessionManager.cpp
@@ -17,8 +17,9 @@ void CSessionManager::shutdownSessions() {
CSessionManager::CSessionManager() {
if (std::atexit([]() {
- if (g_pSessionManager) g_pSessionManager->shutdownSessions();
- }))
+ if (g_pSessionManager)
+ g_pSessionManager->shutdownSessions();
+ }))
log(ERR, "Failed to register SessionManager atexit handler, will fallback to quick_exit after hang");
log(LOG, "SessionManager: initialized");