mirror of
https://github.com/AlistGo/alist.git
synced 2025-06-20 12:21:46 +08:00
fix: resolve concurrent read/write issues in WrapObjName (#7865)
This commit is contained in:
@ -16,9 +16,6 @@ func (o *ObjWrapName) Unwrap() Obj {
|
||||
}
|
||||
|
||||
func (o *ObjWrapName) GetName() string {
|
||||
if o.Name == "" {
|
||||
o.Name = utils.MappingName(o.Obj.GetName())
|
||||
}
|
||||
return o.Name
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user