Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BSubMenuBase 的 SemaphoreSlim 属性应该是只读属性,同时应该释放 #85

Description

@lindexi

https://github.com/wzxinchen/Blazui/blob/845132b403c711ef122d21e7589cf1199bb1a7db/src/Blazui.Component/NavMenu/BSubMenuBase.cs#L13

这个属性应该不允许有这个类里面有那个代码修改这个锁的实例,所以 private set 应该是需要去掉的

另外 SemaphoreSlim 官方是推荐调用 Dispose 释放的哦,请看 SemaphoreSlim.Dispose Method (System.Threading) | Microsoft Docs

Metadata

Metadata

Labels

bugSomething isn't workingwait publish已修复,等待发布

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions