Merge pull request #19 from mattn/fix-opensearch
set nil for the channel
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user