Skip to content

Commit

Permalink
cli: Fix telemetry async submission
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspcr committed Aug 1, 2023
1 parent 07b7e7d commit 9f382f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/ttn-lw-cli/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ func preRun(tasks ...func() error) func(cmd *cobra.Command, args []string) error
cli.NewCLITelemetry(
cli.WithCLITarget(config.Telemetry.Target),
).Run(ctx)
telemetrySubmission <- struct{}{}
}(ctx)
} else {
close(telemetrySubmission)
Expand Down

0 comments on commit 9f382f7

Please sign in to comment.