From 3f2909aa0d95acc5b00642d082013afd40108a30 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 11 Jan 2025 01:30:08 -0600 Subject: trying to get Mutex back to a working state --- sortNew.go | 1 + 1 file changed, 1 insertion(+) (limited to 'sortNew.go') diff --git a/sortNew.go b/sortNew.go index b23f1aa..1de2e82 100644 --- a/sortNew.go +++ b/sortNew.go @@ -11,6 +11,7 @@ func (msg *MsgName) getLockname(s string) string { if argv.Mutex { // use the mutex lock from the modified protoc.pb.go file return s + ".Lock" + // return s // causes Marshal() to panic? always use the variable name 'Lock'? } // a single global lock by struct name return msg.Lockname -- cgit v1.2.3