Skip to content

Commit

Permalink
Merge pull request #199 from Desiki-high/fix-convert-lock
Browse files Browse the repository at this point in the history
fix: delete repetitive unlock
  • Loading branch information
imeoer authored Sep 25, 2023
2 parents 2acf1a8 + 28681e7 commit 7dd5741
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/adapter/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ func (adp *LocalAdapter) Convert(ctx context.Context, source string) (*converter
return nil, err
}
}
adp.content.GcMutex.RUnlock()
return nil, err
}
go adp.content.GC(ctx, adp.content.Threshold)
Expand Down

0 comments on commit 7dd5741

Please sign in to comment.