wrap zip close with mutex

This commit is contained in:
Gani Georgiev committed 2026-08-23 00:05:47 +03:00
1 parent 9e15b464ba
commit 70d585759d
1 file changed
+3
+3
View File
@@ -322,6 +322,9 @@ func newZipWriter(zipFilePath string) (*zipWriter, error) {
}
func (z *zipWriter) close() error {
z.mu.Lock()
defer z.mu.Unlock()
var wErr, fErr error
if z.w != nil {