File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Flow.Launcher.Core/Plugin Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ internal class PluginAssemblyLoader : AssemblyLoadContext
1515
1616 private readonly AssemblyName assemblyName ;
1717
18- private static readonly ConcurrentDictionary < string , object > loadedAssembly ;
18+ private static readonly ConcurrentDictionary < string , byte > loadedAssembly ;
1919
2020 static PluginAssemblyLoader ( )
2121 {
2222 var currentAssemblies = AppDomain . CurrentDomain . GetAssemblies ( ) ;
23- loadedAssembly = new ConcurrentDictionary < string , object > (
24- currentAssemblies . Select ( x => new KeyValuePair < string , object > ( x . FullName , null ) ) ) ;
23+ loadedAssembly = new ConcurrentDictionary < string , byte > (
24+ currentAssemblies . Select ( x => new KeyValuePair < string , byte > ( x . FullName , default ) ) ) ;
2525
2626 AppDomain . CurrentDomain . AssemblyLoad += ( sender , args ) =>
2727 {
28- loadedAssembly [ args . LoadedAssembly . FullName ] = null ;
28+ loadedAssembly [ args . LoadedAssembly . FullName ] = default ;
2929 } ;
3030 }
3131
You can’t perform that action at this time.
0 commit comments