summaryrefslogtreecommitdiff
path: root/src/sessionManager.cpp
diff options
context:
space:
mode:
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");