Skip to content

Commit

Permalink
Implement a close function in Cassandra to allow the user to close th…
Browse files Browse the repository at this point in the history
…e fswatcher go routine

Signed-off-by: kennyaz <[email protected]>
  • Loading branch information
kennyaz committed Jun 12, 2023
1 parent 5dfcaa0 commit e2b9f11
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/fswatcher/fswatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ func (w *FSWatcher) watch() {
w.onChange()
}
case err, ok := <-w.watcher.Errors:
w.wg.Done()
if !ok {
return
}
Expand Down

0 comments on commit e2b9f11

Please sign in to comment.