summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-0/memorystore.cpp
diff options
context:
space:
mode:
authoruser <user@localhost.localdomain>2019-12-26 13:31:23 -0800
committeruser <user@localhost.localdomain>2019-12-26 13:31:23 -0800
commit1c0b4c8ea8e32dddef0da99bbac546952bb20e44 (patch)
tree45b7c1f593df2f80f07727ff04d6ad53a23f3eef /starts/meaning-vm/level-0/memorystore.cpp
parentdc2779f5a7ceb226620f39e728b73b028cb17c10 (diff)
downloadstandingwithresilience-1c0b4c8ea8e32dddef0da99bbac546952bb20e44.tar.gz
standingwithresilience-1c0b4c8ea8e32dddef0da99bbac546952bb20e44.zip
wip
Diffstat (limited to 'starts/meaning-vm/level-0/memorystore.cpp')
-rw-r--r--starts/meaning-vm/level-0/memorystore.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/starts/meaning-vm/level-0/memorystore.cpp b/starts/meaning-vm/level-0/memorystore.cpp
index 1d9e9f6..24e91b0 100644
--- a/starts/meaning-vm/level-0/memorystore.cpp
+++ b/starts/meaning-vm/level-0/memorystore.cpp
@@ -155,6 +155,7 @@ void dealloc(ref r, ref source)
if (r.linked(concepts::allocator())) { return; }
try {
+ if (r.crucial()) { throw crucial_concept(r); }
dealloc_from(r);
concept * referenced = intellect::level0::referenced(r, source);
if (referenced) {