We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd29b80 commit 8b6a412Copy full SHA for 8b6a412
src/core/connection_pool.c
@@ -248,13 +248,14 @@ QuicConnPoolQueueConnectionClose(
248
_In_ const BOOLEAN WaitForCompletion
249
)
250
{
251
+ CXPLAT_EVENT CompletionEvent = {0};
252
+
253
Connection->CloseOper.Type = QUIC_OPER_TYPE_API_CALL;
254
Connection->CloseOper.FreeAfterProcess = FALSE;
255
Connection->CloseOper.API_CALL.Context = &Connection->CloseApiContext;
256
Connection->CloseApiContext.Type = QUIC_API_TYPE_CONN_CLOSE;
257
Connection->CloseApiContext.Status = NULL;
258
- CXPLAT_EVENT CompletionEvent = {0};
259
if (WaitForCompletion) {
260
CxPlatEventInitialize(&CompletionEvent, TRUE, FALSE);
261
Connection->CloseApiContext.Completed = &CompletionEvent;
0 commit comments