Skip to content
Snippets Groups Projects
Commit 1433791d authored by Craig Tiller's avatar Craig Tiller
Browse files

Don't wait forever for iocp to shutdown

parent 0b6312e9
No related branches found
No related tags found
No related merge requests found
...@@ -141,7 +141,7 @@ void grpc_iocp_flush(void) { ...@@ -141,7 +141,7 @@ void grpc_iocp_flush(void) {
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
do { do {
grpc_iocp_work(&exec_ctx, gpr_inf_future(GPR_CLOCK_MONOTONIC)); grpc_iocp_work(&exec_ctx, gpr_inf_past(GPR_CLOCK_MONOTONIC));
} while (grpc_exec_ctx_flush(&exec_ctx)); } while (grpc_exec_ctx_flush(&exec_ctx));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment