Remove verbose log from scbus (#296)

This commit is contained in:
Evan Simkowitz 2024-02-15 16:50:03 -08:00 committed by GitHub
parent 8acda3525b
commit 07fa5bf9cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,7 +40,6 @@ func (bus *Bus[I]) RegisterChannel(key string, channelEntry Channel[I]) chan I {
defer bus.Lock.Unlock()
uch, found := bus.Channels[key]
ch := make(chan I, ChSize)
log.Printf("registering channel key=%s ch=%v\n", key, ch)
channelEntry.SetChannel(ch)
if found {
close(uch.GetChannel())