Cleaned up the cashe held by PublisherCore

This commit is contained in:
Taha Afzal authored and John Colvin committed 2024-05-25 15:37:33 +00:00
1 parent 7feaf869dc
commit 8035255868
18 files changed
+511 -810

No files matched your search

@@ -623,12 +623,12 @@ namespace BCG {
SortedList<string, bool> sl = new SortedList<string, bool>();
if (string.IsNullOrEmpty(myTableFilterBox.Text))
foreach (IBlueRow r in rows) {
sl[r["tag"].ToString().Substring(PubStreamPrefixer.prefix("").Length)] = true;
sl[r["tag"].ToString().Substring(DSTagManager.get_stream_tag("").Length)] = true;
}
else {
Regex tableRegex = new Regex(myTableFilterBox.Text);
foreach (IBlueRow r in rows) {
string thisTable = r["tag"].ToString().Substring(PubStreamPrefixer.prefix("").Length);
string thisTable = r["tag"].ToString().Substring(DSTagManager.get_stream_tag("").Length);
if (tableRegex.IsMatch(thisTable))
sl[thisTable] = true;
}