pt pubsub working

This commit is contained in:
2022-06-28 23:02:53 -04:00
parent e2dc04c233
commit c69654f38f
6 changed files with 106 additions and 2 deletions

View File

@ -98,7 +98,8 @@ func (pt *progressTracker) Publish() (chan<- string, error) {
}
return
}
for _, subChan := range scs {
for i, _ := range scs {
subChan := &scs[i]
if subChan.lastUpdateIndex != lastUpdateIndex {
select {
case subChan.c <- update: