From 70eb60bed3f5bb0339cc7106f9fe252cfa638742 Mon Sep 17 00:00:00 2001 From: Anthony HAMON Date: Sun, 15 May 2022 22:53:44 +0200 Subject: [PATCH] ghokin : remove useless lock --- ghokin/file_manager.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/ghokin/file_manager.go b/ghokin/file_manager.go index d0665a5..895daf9 100644 --- a/ghokin/file_manager.go +++ b/ghokin/file_manager.go @@ -135,8 +135,6 @@ func (f FileManager) processPath(path string, extensions []string, processFile f close(fc) wg.Wait() - mu.Lock() - defer mu.Unlock() return errors }