Skip to content

Commit

Permalink
fix: Remove duplicate loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Yushu2606 authored Mar 20, 2024
1 parent 22d52b2 commit 2f041a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/AssemblyPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ protected internal override void Load()
return;
}

PluginLoadContext context = new(_fileInfo);
_assembly = context.LoadFromAssemblyPath(_fileInfo.FullName);
_context = new(_fileInfo);
_assembly = _context.LoadFromAssemblyPath(_fileInfo.FullName);
Plugins.Add(this);
Expand Down

0 comments on commit 2f041a0

Please sign in to comment.