Skip to content

Commit 3ba26f9

Browse files
authored
The Reuse.Transient property was unused and misleading
See dadhi/DryIoc#486
1 parent 672a5ef commit 3ba26f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonRpc/JsonRpcServerContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static IContainer Create(IServiceProvider? outerServiceProvider)
3737
rules => rules.WithUnknownServiceResolvers(
3838
request => {
3939
var value = outerServiceProvider.GetService(request.ServiceType);
40-
return value == null ? null : (Factory) InstanceFactory.Of(value, Reuse.Transient);
40+
return value == null ? null : (Factory) InstanceFactory.Of(value);
4141
}
4242
)
4343
);

0 commit comments

Comments
 (0)