mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
minor valgrind fixes
This commit is contained in:
parent
31c64980f7
commit
5c7421c833
@ -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()](){
|
||||
|
Loading…
Reference in New Issue
Block a user