Added extra check to handle null assemblies when collecting script assemblies
This commit is contained in:
parent
062c11afa0
commit
d061b84e01
|
@ -882,6 +882,8 @@ namespace SHADE
|
|||
|
||||
System::Collections::Generic::IEnumerable<System::Type^>^ selectorFunc(System::Reflection::Assembly^ assembly)
|
||||
{
|
||||
if (assembly == nullptr)
|
||||
return nullptr;
|
||||
return assembly->GetExportedTypes();
|
||||
}
|
||||
Pair^ resultSelectorFunc(System::Reflection::Assembly^ assembly, System::Type^ type)
|
||||
|
|
Loading…
Reference in New Issue