From a9f2aab22612bea940aa79cfb2eb15cc650ff869 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Sat, 5 Oct 2024 00:38:35 +0200 Subject: libstore: extract Worker::goalFinished specifics there's no reason to have the worker set information on goals that the goals themselves return from their entry point. doing this in the goal `work()` function is much cleaner, and a prerequisite to removing more implicit strong shared references to goals that are currently running. Change-Id: Ibb3e953ab8482a6a21ce2ed659d5023a991e7923 --- src/libstore/build/substitution-goal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore/build/substitution-goal.cc') diff --git a/src/libstore/build/substitution-goal.cc b/src/libstore/build/substitution-goal.cc index c0dd95da5..206bc8649 100644 --- a/src/libstore/build/substitution-goal.cc +++ b/src/libstore/build/substitution-goal.cc @@ -46,7 +46,7 @@ Goal::WorkResult PathSubstitutionGoal::done( } -kj::Promise> PathSubstitutionGoal::work() noexcept +kj::Promise> PathSubstitutionGoal::workImpl() noexcept try { trace("init"); -- cgit v1.2.3