From c68931bdf8cbbd2281489a36bcbdca88f20c036c Mon Sep 17 00:00:00 2001 From: Ted Blackman Date: Mon, 23 Jul 2018 01:25:10 -0700 Subject: [PATCH] untested minor bugfix --- sys/vane/turbo2.hoon | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/vane/turbo2.hoon b/sys/vane/turbo2.hoon index b113031568..b6cf2e4167 100644 --- a/sys/vane/turbo2.hoon +++ b/sys/vane/turbo2.hoon @@ -1028,7 +1028,7 @@ ?~ duct-status=(~(get by ducts.state) duct) ~& [%no-build-for-duct duct] ..execute - :: this duct is no more; it has ceased to be + :: :duct is being canceled, so remove it unconditionally :: =. ducts.state (~(del by ducts.state) duct) :: if the duct was not live, cancel any in-progress builds @@ -1053,7 +1053,6 @@ :: ?~ last-sent=last-sent.live.u.duct-status ..execute - :: :: there is a completed build for the live duct, so delete it :: =/ root-build=build [date.u.last-sent root-schematic.u.duct-status] @@ -1077,7 +1076,7 @@ =^ originator pending-scrys.state ((del-request pending-scrys.state) duct i.blocked-sub-scrys) :: - =? ..execute ?=(~ originator) + =? ..execute ?=(^ originator) (cancel-scry-request u.originator i.blocked-sub-scrys) :: $(blocked-sub-scrys t.blocked-sub-scrys)