correct abolish/1

This commit is contained in:
Mark Thom
2019-03-06 09:54:27 -07:00
parent d49917c88f
commit 07fe30c970
3 changed files with 4 additions and 8 deletions

View File

@@ -103,11 +103,8 @@ impl SubModuleUser for IndexStore {
fn remove_code_index(&mut self, key: PredicateKey)
{
self.code_dir.remove(&key);
if self.dynamic_code_dir.contains_key(&key) {
self.dynamic_code_dir.remove(&key);
}
self.code_dir.remove(&key);
self.dynamic_code_dir.remove(&key);
}
fn insert_dir_entry(&mut self, name: ClauseName, arity: usize, idx: ModuleCodeIndex)