Skip to content

Commit 4478552

Browse files
authored
Reset AssemblyLoadContext (#6390)
1 parent 6fc1a16 commit 4478552

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/WebJobs.Script/DependencyInjection/ScriptStartupTypeLocator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public Type[] GetStartupTypes()
6565
public async Task<IEnumerable<Type>> GetExtensionsStartupTypesAsync()
6666
{
6767
string binPath;
68+
FunctionAssemblyLoadContext.ResetSharedContext();
6869
var functionMetadataCollection = _functionMetadataManager.GetFunctionMetadata(forceRefresh: true);
6970
HashSet<string> bindingsSet = null;
7071
var bundleConfigured = _extensionBundleManager.IsExtensionBundleConfigured();

0 commit comments

Comments
 (0)