Skip to content

Commit 5a96a55

Browse files
committed
fix oopsie
1 parent 5ced7e1 commit 5a96a55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

agent/agentcontainers/watcher/watcher.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ func (f *fsnotifyWatcher) Close() (err error) {
174174
f.watchedFiles = nil
175175
f.watchedDirs = nil
176176
closed := f.closed
177+
f.closed = true
177178
f.mu.Unlock()
178179

179180
if closed {

0 commit comments

Comments
 (0)