Skip to content

Commit

Permalink
fix: delete repetitive unlock
Browse files Browse the repository at this point in the history
Signed-off-by: Yadong Ding <ding_yadong@foxmail.com>
  • Loading branch information
Desiki-high committed Sep 21, 2023
1 parent f078cd5 commit 28681e7
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 28681e7

Please sign in to comment.