fiatjaf / relayer

A Nostr relay server framework.
The Unlicense
309 stars 84 forks source link

fix groutine leak #86

Closed mattn closed 1 year ago

mattn commented 1 year ago

Fixes https://github.com/fiatjaf/relayer/issues/84

ticker.C does not fire anything after ticker.Stop. So the goroutine will be leak.

mattn commented 1 year ago

Confirmed fixes image

fiatjaf commented 1 year ago

Thank you very much, sir.