]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/base/RunnersRegistry.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / base / RunnersRegistry.h
index d0e369c20893d1e7c5344ecc1dc3a3e3d62fefa3..b21c56f8f265e00c046bf439c26506a17c27fa5c 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
 #ifndef SQUID_BASE_RUNNERSREGISTRY_H
 #define SQUID_BASE_RUNNERSREGISTRY_H
 
@@ -60,7 +68,7 @@ public:
     /// Meant for cleanup and state saving that may require other modules.
     virtual void startShutdown() {}
 
-    /// Called after stopping the main loop.
+    /// Called after stopping the main loop and before releasing memory.
     /// Meant for quick/basic cleanup that does not require any other modules.
     virtual ~RegisteredRunner() {}
     /// exists to simplify caller interface; override the destructor instead
@@ -93,3 +101,4 @@ bool UseThisStatic(const void *);
         UseThisStatic(& Who ## _Registered_);
 
 #endif /* SQUID_BASE_RUNNERSREGISTRY_H */
+