diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-03-02 18:01:58 +0000 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-03-02 18:01:58 +0000 |
commit | 1a138c34ed6da4203317b430a126e7231abca820 (patch) | |
tree | 7cc97f82239d0d65947d6ef2e7571aa02815d27b /test/core | |
parent | f5fd4ba0a910c7349c089f3d7c73f3333b015153 (diff) |
Dont add new requests when shutting down
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/fling/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/fling/server.c b/test/core/fling/server.c index 59c303015a..5c1ab14d03 100644 --- a/test/core/fling/server.c +++ b/test/core/fling/server.c @@ -275,7 +275,7 @@ int main(int argc, char **argv) { case FLING_SERVER_SEND_STATUS_FOR_STREAMING: /* Send status and close completed at server */ grpc_call_destroy(call); - request_call(); + if (!shutdown_started) request_call(); break; case FLING_SERVER_READ_FOR_UNARY: /* Finished payload read for unary. Start all reamaining @@ -288,7 +288,7 @@ int main(int argc, char **argv) { grpc_byte_buffer_destroy(payload_buffer); payload_buffer = NULL; grpc_call_destroy(call); - request_call(); + if (!shutdown_started) request_call(); break; } break; |