File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Shared/runtime/Quic/Implementations/MsQuic/Internal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ internal unsafe uint UnsafeGetParam(
223223 public async ValueTask < MsQuicSecurityConfig ? > CreateSecurityConfig ( X509Certificate certificate , string ? certFilePath , string ? privateKeyFilePath )
224224 {
225225 MsQuicSecurityConfig ? secConfig = null ;
226- var tcs = new TaskCompletionSource < object ? > ( TaskCreationOptions . RunContinuationsAsynchronously ) ;
226+ var tcs = new TaskCompletionSource ( TaskCreationOptions . RunContinuationsAsynchronously ) ;
227227 uint secConfigCreateStatus = MsQuicStatusCodes . InternalError ;
228228 uint createConfigStatus ;
229229 IntPtr unmanagedAddr = IntPtr . Zero ;
@@ -283,7 +283,7 @@ void SecCfgCreateCallbackHandler(
283283 {
284284 secConfig = new MsQuicSecurityConfig ( this , securityConfig ) ;
285285 secConfigCreateStatus = status ;
286- tcs . SetResult ( null ) ;
286+ tcs . SetResult ( ) ;
287287 }
288288
289289 await tcs . Task . ConfigureAwait ( false ) ;
You can’t perform that action at this time.
0 commit comments