mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-01 05:13:40 +01:00
Return the resulting service, not the Task
This commit is contained in:
parent
65016f88c1
commit
c3af98ce5c
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ internal class ServiceContainer : IServiceProvider, IServiceType
|
||||||
public IServiceScope GetScope() => new ServiceScopeImpl(this);
|
public IServiceScope GetScope() => new ServiceScopeImpl(this);
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
object? IServiceProvider.GetService(Type serviceType) => this.GetSingletonService(serviceType);
|
object? IServiceProvider.GetService(Type serviceType) => this.GetSingletonService(serviceType).Result;
|
||||||
|
|
||||||
private async Task<object> GetService(Type serviceType, ServiceScopeImpl? scope, object[] scopedObjects)
|
private async Task<object> GetService(Type serviceType, ServiceScopeImpl? scope, object[] scopedObjects)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue