Added experimental fix for inlining issue in assembly init.
This commit is contained in:
committed by
Evil Factory
parent
3f199a9500
commit
d420e1efbb
@@ -370,6 +370,7 @@ public class PluginManagementService : IAssemblyManagementService
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.NoOptimization)]
|
||||||
public FluentResults.Result ActivatePluginInstances(ImmutableArray<ContentPackage> executionOrder, bool excludeAlreadyRunningPackages = true)
|
public FluentResults.Result ActivatePluginInstances(ImmutableArray<ContentPackage> executionOrder, bool excludeAlreadyRunningPackages = true)
|
||||||
{
|
{
|
||||||
if (executionOrder.IsDefaultOrEmpty)
|
if (executionOrder.IsDefaultOrEmpty)
|
||||||
@@ -488,6 +489,7 @@ public class PluginManagementService : IAssemblyManagementService
|
|||||||
return results;
|
return results;
|
||||||
|
|
||||||
// helper
|
// helper
|
||||||
|
[MethodImpl(MethodImplOptions.NoOptimization)]
|
||||||
FluentResults.Result PluginInitRunner(IAssemblyPlugin plugin, Action<IAssemblyPlugin> action)
|
FluentResults.Result PluginInitRunner(IAssemblyPlugin plugin, Action<IAssemblyPlugin> action)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user