Merge pull request #19 from mattn/fix-opensearch
Some checks failed
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled

set nil for the channel
This commit is contained in:
mattn
2024-05-28 10:45:25 +09:00
committed by GitHub

View File

@@ -155,6 +155,7 @@ func (oss *OpensearchStorage) QueryEvents(ctx context.Context, filter nostr.Filt
} }
if ch != nil { if ch != nil {
close(ch) close(ch)
ch = nil
} }
}() }()