Skip to content

Commit

Permalink
Prevent deadlock on container stop failure
Browse files Browse the repository at this point in the history
Closes #1834

Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Mar 31, 2016
1 parent 325f559 commit 3cb413d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lxd/container_lxc.go
Original file line number Diff line number Diff line change
Expand Up @@ -1422,6 +1422,7 @@ func (c *containerLXC) OnStop(target string) error {
// Stop the storage for this container
err := c.StorageStop()
if err != nil {
wg.Done()
return err
}

Expand Down

0 comments on commit 3cb413d

Please sign in to comment.