You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: report subscriber location when ack panics
eg.
```
~/…/types/foo $ go run . master
panic: ack timeout for /Users/aat/dev/types/foo/main.go:12: main.main
goroutine 3 [running]:
github.com/alecthomas/types/pubsub.(*Topic[...]).run(0x10010b8a0)
/Users/aat/dev/types/pubsub/pubsub.go:206 +0x42c
created by github.com/alecthomas/types/pubsub.New[...] in goroutine 1
/Users/aat/dev/types/pubsub/pubsub.go:71 +0x10c
exit status 2
```
fix: ensure async subscriptions are closed
This bug slipped in in the previous change to support synchronous
publishers/subscribers because there was no test for it. Test added.