ctx.Cancel() won't propogate immediately
ayjayt opened this issue · 0 comments
ayjayt commented
The control structure is set up so that ctx.Cancel won't propagate until some event occurs from the slack channel-
In slacker.go, in func (s *Slacker) Listen(ctx context.Context) error
It makes it hard to turn the bot on and off. Fix incoming.