Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
Fix: Respect control termination in activity reporting.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradhe committed Jun 22, 2020
1 parent 8dd3043 commit aa4da11
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions instrumentation/activities/reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@ func (r *Reporter) Run(ctx context.Context, pc chan<- scheduler.Process) error {
case act := <-r.ch:
r.doReport(act)
default:
break
return nil
}
}

return nil
case act := <-r.ch:
r.doReport(act)
}
Expand Down

0 comments on commit aa4da11

Please sign in to comment.