Delete task on dead shim

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2018-02-06 12:05:35 -05:00
parent 87d15a5ffc
commit 95d4f53fbe
3 changed files with 6 additions and 10 deletions

View File

@@ -195,7 +195,7 @@ func (r *windowsRuntime) Delete(ctx context.Context, t runtime.Task) (*runtime.E
}
wt.cleanup()
r.tasks.Delete(ctx, t)
r.tasks.Delete(ctx, t.ID())
r.publisher.Publish(ctx,
runtime.TaskDeleteEventTopic,