diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-09-30 08:41:51 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-09-30 08:41:51 -0700 |
commit | 1433791d87ec0c0b50163d8474e49a08d189287c (patch) | |
tree | 8d7cbcaa06d8927d60fe0121dd6766bd6000cd2f /src/core/iomgr/iocp_windows.c | |
parent | 0b6312e970a425819a68843e93f72c4d06e31543 (diff) |
Don't wait forever for iocp to shutdown
Diffstat (limited to 'src/core/iomgr/iocp_windows.c')
-rw-r--r-- | src/core/iomgr/iocp_windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/iomgr/iocp_windows.c b/src/core/iomgr/iocp_windows.c index 791f2e39c8..cf33d74366 100644 --- a/src/core/iomgr/iocp_windows.c +++ b/src/core/iomgr/iocp_windows.c @@ -141,7 +141,7 @@ void grpc_iocp_flush(void) { grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; 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)); } |