[cpp-sp] branch main updated: Add shutdown logic to Terminate hook.

Codeberg noreply at shibboleth.net
Mon Jun 15 21:52:41 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository cpp-sp.

View the commit online:
https://codeberg.org/Shibboleth/cpp-sp/commit/b870bb8402cadd956da2caeaeda2d5f6f4cb268a

The following commit(s) were added to refs/heads/main by this push:
     new b870bb84 Add shutdown logic to Terminate hook.
b870bb84 is described below

commit b870bb8402cadd956da2caeaeda2d5f6f4cb268a
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Jun 15 17:51:39 2026 -0400

    Add shutdown logic to Terminate hook.
---
 iis/register.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/iis/register.cpp b/iis/register.cpp
index 367a3761..c11768ef 100644
--- a/iis/register.cpp
+++ b/iis/register.cpp
@@ -64,6 +64,12 @@ public:
     {
         Category::getInstance(SHIBSP_LOGCAT ".IIS").info("IIS module is terminating");
         delete this;
+
+        if (g_Config) {
+            AgentConfig* temp = g_Config;
+            g_Config = nullptr;
+            temp->term();
+        }
     }
 };
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list