Skip to content

Commit

Permalink
Buzz14: Fix deadlock (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
thenorthnate authored Apr 14, 2024
1 parent 3eafb89 commit 54201dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hive.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func New() *Hive {
func (hive *Hive) startCleanupWorker() {
go func() {
for range hive.notifyComplete {
hive.removeDoneWorkers()
go hive.removeDoneWorkers()
}
hive.removeDoneWorkers()
hive.closed <- struct{}{}
Expand Down

0 comments on commit 54201dc

Please sign in to comment.