diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2024-02-09 13:09:05 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2024-02-09 13:15:04 -0500 |
| commit | 3ddafd3b9ac089252814af87cb7d9fe534cf59a4 (patch) | |
| tree | 775dc0241c5e87cc22267d093f0447abc245f4c1 /include/framework/scheduling | |
| parent | aa1b40e9249afc03bf1a2f35de4cbf67c7f9b47e (diff) | |
| download | dynamic-extension-3ddafd3b9ac089252814af87cb7d9fe534cf59a4.tar.gz | |
Removed centralized version structure
Diffstat (limited to 'include/framework/scheduling')
| -rw-r--r-- | include/framework/scheduling/Epoch.h | 5 |
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; + } + } /* |