summaryrefslogtreecommitdiffstats
path: root/include/framework/scheduling
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2024-02-09 13:09:05 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2024-02-09 13:15:04 -0500
commit3ddafd3b9ac089252814af87cb7d9fe534cf59a4 (patch)
tree775dc0241c5e87cc22267d093f0447abc245f4c1 /include/framework/scheduling
parentaa1b40e9249afc03bf1a2f35de4cbf67c7f9b47e (diff)
downloaddynamic-extension-3ddafd3b9ac089252814af87cb7d9fe534cf59a4.tar.gz
Removed centralized version structure
Diffstat (limited to 'include/framework/scheduling')
-rw-r--r--include/framework/scheduling/Epoch.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/framework/scheduling/Epoch.h b/include/framework/scheduling/Epoch.h
index 3ffa145..9377fb0 100644
--- a/include/framework/scheduling/Epoch.h
+++ b/include/framework/scheduling/Epoch.h
@@ -47,6 +47,11 @@ public:
if (m_structure) {
m_structure->release_reference();
}
+
+ if (m_structure->get_reference_count() == 0) {
+ delete m_structure;
+ }
+
}
/*