OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-atomspace commits / 3606a53

Be more careful with covering atomspaces
3606a53f17c204771a17d9597cd1511db2281085
by Linas Vepštas <linasvepstas@gmail.com> · 2026-01-20T04:17:48.000Z

Changed files (1) +10 -1

opencog/atoms/constrain/DeleteLink.cc +10 -1
……@@ -40,7 +40,16 @@ void DeleteLink::setAtomSpace(AtomSpace * as)
4040 return;
4141 }
4242
43 DeleteLink::execute(as, true);
43 if (DELETE_RECURSIVE_LINK == _type)
44 {
45 for (const Handle& h : _outgoing)
46 as->extract_atom(h, true);
47 }
48 else
49 {
50 for (const Handle& h : _outgoing)
51 as->extract_atom(h, false);
52 }
4453
4554 throw DeleteException();
4655}