Skip to content

Commit eb8ba90

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 55cdb83 commit eb8ba90

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

library/include/DebugManager.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ class DFHACK_EXPORT DebugManager : public std::vector<DebugCategory*> {
9696

9797
//! Get the singleton object
9898
static DebugManager& getInstance() {
99-
// Plugins may still hold pointers to DebugManager's instance during shutdown.
100-
// If DebugManager's dtor runs first, use-after-free may ensue.
101-
// Intentionally leak to avoid this issue.
99+
// Plugins may still hold pointers to DebugManager's instance during shutdown.
100+
// If DebugManager's dtor runs first, use-after-free may ensue.
101+
// Intentionally leak to avoid this issue.
102102
static DebugManager* instance = new DebugManager();
103103
return *instance;
104104
}

0 commit comments

Comments
 (0)