Skip to content

Commit

Permalink
Change dispenser policy for RuntimeAssembly to ReuseAlways (#69937)
Browse files Browse the repository at this point in the history
This matches the policy used by all other runtime flavors.

Fixes #69743
  • Loading branch information
jkotas authored May 30, 2022
1 parent 4719135 commit a4223dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public sealed override DispenserAlgorithm GetAlgorithm(DispenserScenario scenari

// Scope definition handle to RuntimeAssembly
case DispenserScenario.Scope_Assembly:
return DispenserAlgorithm.ReuseAsLongAsValueIsAlive;
return DispenserAlgorithm.ReuseAlways; // Match policy used for runtime Assembly instances in other runtime flavors.

default:
return DispenserAlgorithm.CreateAlways;
Expand Down

0 comments on commit a4223dc

Please sign in to comment.