diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2017-10-26 18:44:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 18:44:32 +0200 |
commit | 9599d86baf8457d791c1bd0fe80f1c9aeca8e533 (patch) | |
tree | 0ff54b22a8ae204fa34bc0881edbd444b87454ae | |
parent | 46dcae772faee8c09d5c637db8fec0efcf70e5ab (diff) | |
parent | eec87415fea76bbb092111185299ebf6be679229 (diff) |
Merge pull request #13118 from jtattermusch/core_win_unref_res_quota
Try unref resource quota in Windows for v1.7.x
-rw-r--r-- | src/core/lib/iomgr/tcp_windows.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/tcp_windows.c b/src/core/lib/iomgr/tcp_windows.c index 2cbb97403b..9b634a2a1f 100644 --- a/src/core/lib/iomgr/tcp_windows.c +++ b/src/core/lib/iomgr/tcp_windows.c @@ -441,6 +441,7 @@ grpc_endpoint *grpc_tcp_create(grpc_exec_ctx *exec_ctx, grpc_winsocket *socket, tcp->resource_user = grpc_resource_user_create(resource_quota, peer_string); /* Tell network status tracking code about the new endpoint */ grpc_network_status_register_endpoint(&tcp->base); + grpc_resource_quota_unref_internal(exec_ctx, resource_quota); return &tcp->base; } |