Skip to content

Commit

Permalink
test gha
Browse files Browse the repository at this point in the history
freemanzMrojo committed Jan 31, 2025

Verified

This commit was signed with the committer’s verified signature.
GromNaN Jérôme Tamarelle
1 parent 0e2e131 commit 0ee9a7d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions co/signal.go
Original file line number Diff line number Diff line change
@@ -53,6 +53,10 @@ func (s *Signal) Broadcast(source string) {
s.l.Lock()

s.init()
select {
case s.ch <- TriggerInfo{Source: source, Time: time.Now()}:
default:
}
close(s.ch)
s.ch = make(chan TriggerInfo, 1)

0 comments on commit 0ee9a7d

Please sign in to comment.