1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2026-10-18 00:54:25 +00:00

minor valgrind fixes

This commit is contained in:
Oliver Giles
2019-02-15 18:24:36 +02:00
parent 31c64980f7
commit 5c7421c833
2 changed files with 3 additions and 3 deletions

View File

@@ -645,8 +645,8 @@ bool Laminar::tryStartRun(std::shared_ptr<Run> run, int queueIndex) {
});
// Actually schedules the Run steps
kj::Promise<void> exec = handleRunStep(run.get()).then([this,r=run.get()]{
runFinished(r);
kj::Promise<void> exec = handleRunStep(run.get()).then([=]{
runFinished(run.get());
});
if(run->timeout > 0) {
exec = exec.attach(srv->addTimeout(run->timeout, [r=run.get()](){