mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Service: make TCS RunContinuationsAsynchronously (#1944)
This commit is contained in:
parent
0c1b2a03b2
commit
4b73e26443
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ namespace Dalamud;
|
||||||
internal static class Service<T> where T : IServiceType
|
internal static class Service<T> where T : IServiceType
|
||||||
{
|
{
|
||||||
private static readonly ServiceManager.ServiceAttribute ServiceAttribute;
|
private static readonly ServiceManager.ServiceAttribute ServiceAttribute;
|
||||||
private static TaskCompletionSource<T> instanceTcs = new();
|
private static TaskCompletionSource<T> instanceTcs = new(TaskCreationOptions.RunContinuationsAsynchronously);
|
||||||
private static List<Type>? dependencyServices;
|
private static List<Type>? dependencyServices;
|
||||||
private static List<Type>? dependencyServicesForUnload;
|
private static List<Type>? dependencyServicesForUnload;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue