mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-01 08:23:42 -04:00
For some reason this check failed and resulted in a stack overflow (#52)
Added a second condition to the Observatory.Framework assembly loading check to prevent a stack overflow condition.
This commit is contained in:
@ -250,7 +250,7 @@ namespace Observatory.PluginManagement
|
||||
|
||||
//Importing Observatory.Framework in the Explorer Lua scripts causes an attempt to reload
|
||||
//the assembly, just hand it back the one we already have.
|
||||
if (name.Name.StartsWith("Observatory.Framework"))
|
||||
if (name.Name.StartsWith("Observatory.Framework") || name.Name == "ObservatoryFramework")
|
||||
{
|
||||
return context.Assemblies.Where(a => a.FullName.Contains("ObservatoryFramework")).First();
|
||||
}
|
||||
|
Reference in New Issue
Block a user