Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
cli: close communication channel with the parent
Browse files Browse the repository at this point in the history
In order to avoid file descriptor leaks, the communication channel with the
parent must be closed.

Signed-off-by: Julio Montes <julio.montes@intel.com>
  • Loading branch information
Julio Montes committed Nov 27, 2018
1 parent a47b394 commit 8499caf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,8 @@ func afterSubcommands(c *cli.Context) error {

stopTracing(ctx)

closeChannels()

return nil
}

Expand Down

0 comments on commit 8499caf

Please sign in to comment.