Skip to content

Commit

Permalink
invert order of loaded packages and assemblies loaded (#13770)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipeotero authored and sm6srw committed Apr 5, 2023
1 parent 4ee2ce3 commit 435d24f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/DynamoPackages/PackageLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,12 @@ private void TryLoadPackageIntoLibrary(Package package)
}

package.SetAsLoaded();
PackgeLoaded?.Invoke(package);


PythonServices.PythonEngineManager.Instance.
LoadPythonEngine(package.LoadedAssemblies.Select(x => x.Assembly));

PackgeLoaded?.Invoke(package);
}
catch (CustomNodePackageLoadException e)
{
Expand Down

0 comments on commit 435d24f

Please sign in to comment.