Closed Kvaz1r closed 5 years ago
panic: close of closed channel
I can't provide steps for reproducing, but the reason is obvious. Events channel is closing in condition also as in defer.
goroutine 27 [running]: github.com/nelsam/vidar/fsw.(*poller).run(0xc04206ad50) E:/gopath/src/github.com/nelsam/vidar/fsw/poller.go:68 +0x112 created by github.com/nelsam/vidar/fsw.New E:/gopath/src/github.com/nelsam/vidar/fsw/poller.go:57 +0x13f
Description
panic: close of closed channel
Steps to reproduce
I can't provide steps for reproducing, but the reason is obvious. Events channel is closing in condition also as in defer.
Stack trace