diff options
| author | 2026-03-30 00:05:12 +0100 | |
|---|---|---|
| committer | 2026-03-30 00:38:26 +0100 | |
| commit | 6d5a90fb6c36f46b947cb2c2fa9a56ef64485dfa (patch) | |
| tree | 5436c2b44beea6076e3dcc4a6ef87b9e159441a1 /modules/spanningtree/main.cpp | |
| parent | Add methods to ListExtItem to encode individual elements. (diff) | |
Stop deleting the spanningtree utilities on unload.
This is not an owning pointer now.
Diffstat (limited to 'modules/spanningtree/main.cpp')
| -rw-r--r-- | modules/spanningtree/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/spanningtree/main.cpp b/modules/spanningtree/main.cpp index 0c937df60..317dda412 100644 --- a/modules/spanningtree/main.cpp +++ b/modules/spanningtree/main.cpp @@ -881,7 +881,7 @@ ModuleSpanningTree::~ModuleSpanningTree() auto* newsrv = new Server(ServerInstance->Config->ServerId, ServerInstance->Config->ServerName, ServerInstance->Config->ServerDesc); SetLocalUsersServer(newsrv); - delete Utils; + Utils = nullptr; } /* It is IMPORTANT that m_spanningtree is the last module in the chain |
