This commit is contained in:
Shreyas Goenka 2025-02-18 14:33:41 +01:00
parent 11af4ba964
commit 75f3008b66
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 2 additions and 3 deletions

View File

@ -111,8 +111,7 @@ func (d *Daemon) Release() error {
return nil
}
// The docs recommend calling Release if Wait is not called. This does not
// seem to be necessary since the functionality works without it. However, we
// we add it just to be safe.
// The docs for [os.Process.Release] recommend calling Release if Wait is not called.
// It's probably not necessary but we call it just to be safe.
return d.cmd.Process.Release()
}