summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h
index 0b91e6048..72ee2683d 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -391,6 +391,11 @@ class CoreExport Module : public classbase, public usecountbase
*/
DLLManager* ModuleDLLManager;
+ /** If true, this module will be unloaded soon, further unload attempts will fail
+ * Value is used by the ModuleManager internally, you should not modify it
+ */
+ bool dying;
+
/** Default constructor.
* Creates a module class. Don't do any type of hook registration or checks
* for other modules here; do that in init().