rjeczalik / notify

File system event notification library on steroids.
MIT License
900 stars 128 forks source link

Introduce thread safe way to Close watcher and start it again #184

Open JekaMas opened 4 years ago

JekaMas commented 4 years ago

First of all, thank you for the great project!

We faced with a couple goroutine leaks in Ethereum itself and forks(turbo geth), many of them appear in tests or user pattern "start-stop-start" node.

It'd be great to have notify package with thread safety and Close function.