diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-10-03 16:45:42 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-03 16:45:42 +0000 |
commit | 3491ec5ee80b3ed2037a099ccbdc8b482816fc47 (patch) | |
tree | 9806849f31ba1882c154f1154e0bfb2b35c6f572 /pkg/sentry/kernel/task.go | |
parent | 0c7055c40f978bd8f0ca5aa362948ad9807efe54 (diff) | |
parent | e0aaf40e397072eba7944065cf2a820318cb266b (diff) |
Merge release-20200921.0-107-ge0aaf40e3 (automated)
Diffstat (limited to 'pkg/sentry/kernel/task.go')
-rw-r--r-- | pkg/sentry/kernel/task.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/task.go b/pkg/sentry/kernel/task.go index a436610c9..f796e0fa3 100644 --- a/pkg/sentry/kernel/task.go +++ b/pkg/sentry/kernel/task.go @@ -917,7 +917,7 @@ func (t *Task) SetKcov(k *Kcov) { // ResetKcov clears the kcov instance associated with t. func (t *Task) ResetKcov() { if t.kcov != nil { - t.kcov.Reset() + t.kcov.OnTaskExit() t.kcov = nil } } |