Merge pull request #43 from DeBankDeFi/fixhang

fix bloombits goroutine leak
This commit is contained in:
cifer76 2022-09-23 09:32:53 +08:00 committed by GitHub
commit 69c7e7b917
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -634,7 +634,7 @@ func (s *MatcherSession) Multiplex(batch int, wait time.Duration, mux chan chan
s.errLock.Lock()
s.err = result.Error
s.errLock.Unlock()
s.Close()
//s.Close()
}
s.deliverSections(result.Bit, result.Sections, result.Bitsets)
}