Skip to content

Commit

Permalink
race conditions do still happen, but they're exposed now
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRoesler committed Nov 3, 2023
1 parent 7bd6034 commit b8cc2a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ func ExampleWithStartAt() {
),
)
s.Start()
time.Sleep(10 * time.Millisecond)
defer func() {
_ = s.StopJobs()
}()
Expand Down

0 comments on commit b8cc2a7

Please sign in to comment.