We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5960cad + 33c860f commit 6bb83f2Copy full SHA for 6bb83f2
1 file changed
linux/proc/exec_state.go
@@ -60,11 +60,11 @@ func (s *execCreatedState) Start(ctx context.Context) error {
60
}
61
62
func (s *execCreatedState) Delete(ctx context.Context) error {
63
+ s.p.mu.Lock()
64
+ defer s.p.mu.Unlock()
65
if err := s.p.delete(ctx); err != nil {
66
return err
67
- s.p.mu.Lock()
- defer s.p.mu.Unlock()
68
return s.transition("deleted")
69
70
0 commit comments