diff --git a/Directory.Packages.props b/Directory.Packages.props index 89368e67f..db5181cd2 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -60,6 +60,6 @@ - + \ No newline at end of file diff --git a/src/JsonRpc/JsonRpcServerContainer.cs b/src/JsonRpc/JsonRpcServerContainer.cs index ccc645e85..5ac29f682 100644 --- a/src/JsonRpc/JsonRpcServerContainer.cs +++ b/src/JsonRpc/JsonRpcServerContainer.cs @@ -37,7 +37,7 @@ public static IContainer Create(IServiceProvider? outerServiceProvider) rules => rules.WithUnknownServiceResolvers( request => { var value = outerServiceProvider.GetService(request.ServiceType); - return value == null ? null : (Factory) InstanceFactory.Of(value, Reuse.Transient); + return value == null ? null : (Factory) InstanceFactory.Of(value); } ) );