Skip to content

Commit dc1c576

Browse files
committed
Fix wrong Task type assignment on SharedStaticV1Ext
1 parent 9a99615 commit dc1c576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SharedStatic.V1Ext_Update1.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private static unsafe HResult LaunchGameFromGameManagerAsync(nint gameManage
130130
startArguments = argumentsSpan.IsEmpty ? null : argumentsSpan.ToString();
131131
}
132132

133-
(bool isSupported, Task task) = ThisExtensionExport
133+
(bool isSupported, Task<bool> task) = ThisExtensionExport
134134
.LaunchGameFromGameManagerCoreAsync(context,
135135
startArguments,
136136
isRunBoosted,
@@ -253,7 +253,7 @@ private static unsafe HResult WaitRunningGameAsync(nint gameManagerP, nint plugi
253253
PluginHandle = nint.Zero
254254
};
255255

256-
(bool isSupported, Task task) = ThisExtensionExport.WaitRunningGameCoreAsync(context, cts?.Token ?? CancellationToken.None);
256+
(bool isSupported, Task<bool> task) = ThisExtensionExport.WaitRunningGameCoreAsync(context, cts?.Token ?? CancellationToken.None);
257257
taskResult = task.AsResult();
258258

259259
return isSupported;

0 commit comments

Comments
 (0)