Skip to content

Commit 3f547f9

Browse files
committed
Improve comment
1 parent 8b6a412 commit 3f547f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/connection_pool.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,8 @@ MsQuicConnectionPoolCreate(
714714
//
715715
// Close every connection that was created.
716716
// The application will receive the shutdown notification.
717+
// Wait for the task to be complete so that when this function returns to the app,
718+
// all connections are closed (since the shutdown notification is visible).
717719
//
718720
for (uint32_t i = 0; i < CreatedConnections; i++) {
719721
QuicConnPoolQueueConnectionClose(Connections[i], TRUE);

0 commit comments

Comments
 (0)