Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
QilongTang committed Oct 24, 2023
1 parent d3b1cb9 commit a4d66c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/DynamoCore/Search/NodeSearchModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ internal IEnumerable<NodeSearchElement> Search(string search, LuceneSearchUtilit
}
}
}
luceneSearchUtility.dirReader.Dispose();
return candidates;
}
return null;
Expand Down
3 changes: 2 additions & 1 deletion src/DynamoCoreWpf/Controls/StartPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Specialized;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
Expand Down Expand Up @@ -366,7 +367,7 @@ private void RefreshFileList(ObservableCollection<StartPageListItem> files,
IEnumerable<string> filePaths)
{
files.Clear();
foreach (var filePath in filePaths)
foreach (var filePath in filePaths.Where(x => x != null))
{
try
{
Expand Down

0 comments on commit a4d66c2

Please sign in to comment.