Close METADAPT-A transaction channel

This commit is contained in:
Sasha Koshka 2025-04-25 15:07:47 -04:00
parent cbaff8b593
commit 8fe3ba8d4f

View File

@ -109,6 +109,7 @@ func (this *a) sendMessageSafe(trans int64, method uint16, data []byte) error {
func (this *a) receive() {
defer func() {
this.underlying.Close()
close(this.transChan)
this.transLock.Lock()
defer this.transLock.Unlock()
for _, trans := range this.transMap {