Fix reading rules multiple times (#10925)

This commit is contained in:
Kevin Zheng
2022-08-29 22:00:06 -07:00
committed by GitHub
parent f7b1a3e9fb
commit 4813a719ba

View File

@@ -82,11 +82,8 @@ public sealed class RulesManager : SharedRulesManager
}
public Control RulesSection()
{
if (rulesSection.Disposed)
{
rulesSection = new InfoSection("", "", false);
}
UpdateRules();
return rulesSection;
}