diff options
author | user <user@localhost.localdomain> | 2019-12-26 13:31:23 -0800 |
---|---|---|
committer | user <user@localhost.localdomain> | 2019-12-26 13:31:23 -0800 |
commit | 1c0b4c8ea8e32dddef0da99bbac546952bb20e44 (patch) | |
tree | 45b7c1f593df2f80f07727ff04d6ad53a23f3eef /starts/meaning-vm/level-0/memorystore.cpp | |
parent | dc2779f5a7ceb226620f39e728b73b028cb17c10 (diff) | |
download | standingwithresilience-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.cpp | 1 |
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) { |