From cbfa820ee3632a2935fbf2a0b415922d49e44cbd Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Tue, 20 Oct 2020 15:15:58 -0500 Subject: [PATCH] graph-threads: delete thread gets rid of metadata properly --- pkg/arvo/ted/graph/delete.hoon | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkg/arvo/ted/graph/delete.hoon b/pkg/arvo/ted/graph/delete.hoon index 7e95d492b..1ffcdd97d 100644 --- a/pkg/arvo/ted/graph/delete.hoon +++ b/pkg/arvo/ted/graph/delete.hoon @@ -41,6 +41,15 @@ (poke-our %graph-store %graph-update !>([%0 now.bowl %remove-graph rid])) ;< ~ bind:m (poke-our %graph-push-hook %push-hook-action !>([%remove rid])) + ;< ~ bind:m + %+ poke-our %metadata-hook + metadata-hook-action+!>([%remove (en-path:resource rid)]) + ;< ~ bind:m + %+ poke-our %metadata-store + :- %metadata-action + !> :+ %remove + (en-path:resource rid) + [%graph (en-path:resource rid)] (pure:m ~) -- ::